Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 289.7 MB / 302.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 178.9 kB / 371.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008173/0.0008175, allocations: 94.31 kB / 0.745 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.765e-05, allocations: 7.984 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2676, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8537/1.121, allocations: 139.1 MB / 1.116 GB, free: 44.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.122, allocations: 71.48 kB / 1.116 GB, free: 44.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007021/1.129, allocations: 2.44 MB / 1.118 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.904e-06/1.129, allocations: 0 / 1.118 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.976e-06/1.129, allocations: 4 kB / 1.118 GB, free: 43.12 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004441/1.129, allocations: 390.5 kB / 1.119 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.129, allocations: 8.031 kB / 1.119 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/1.129, allocations: 37.44 kB / 1.119 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/1.129, allocations: 12.06 kB / 1.119 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/1.13, allocations: 171.2 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/1.13, allocations: 10.58 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/1.13, allocations: 4 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/1.13, allocations: 65.73 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.13, allocations: 6.859 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/1.13, allocations: 0 / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.13, allocations: 0 / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/1.13, allocations: 31.03 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/1.13, allocations: 333.6 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/1.131, allocations: 58.02 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/1.131, allocations: 30.73 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/1.131, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/1.131, allocations: 106.5 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/1.131, allocations: 0 / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002911/1.131, allocations: 128.1 kB / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.131, allocations: 58.59 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/1.131, allocations: 105.7 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.131, allocations: 32.83 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/1.131, allocations: 84.02 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/1.131, allocations: 26.33 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/1.131, allocations: 4.562 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/1.132, allocations: 322.2 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/1.132, allocations: 48.36 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/1.132, allocations: 68.48 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/1.132, allocations: 72.25 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.132, allocations: 0 / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004784/1.132, allocations: 231 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/1.132, allocations: 40.91 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.132, allocations: 0.625 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/1.133, allocations: 33.58 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/1.133, allocations: 7.953 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/1.134, allocations: 1.433 MB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/1.134, allocations: 39.14 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/1.134, allocations: 11.28 kB / 1.122 GB, free: 39.31 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/1.134, allocations: 117.9 kB / 1.122 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/1.134, allocations: 11.86 kB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/1.134, allocations: 9.188 kB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.134, allocations: 4 kB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/1.134, allocations: 0 / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.134, allocations: 3.375 kB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/1.134, allocations: 395.7 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.135, allocations: 1.5 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/1.135, allocations: 9.266 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.135, allocations: 0 / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.135, allocations: 7.469 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.135, allocations: 0 / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.135, allocations: 0.6875 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/1.135, allocations: 230.3 kB / 1.123 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/1.135, allocations: 81.11 kB / 1.123 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/1.135, allocations: 0 / 1.123 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/1.135, allocations: 11.42 kB / 1.123 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/1.135, allocations: 11.25 kB / 1.123 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/1.135, allocations: 4.688 kB / 1.123 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.623e-05/1.135, allocations: 91.16 kB / 1.123 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.135, allocations: 3.938 kB / 1.123 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002807/1.135, allocations: 32.84 kB / 1.123 GB, free: 38.36 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004759/1.136, allocations: 0.7798 MB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003555/1.136, allocations: 272.2 kB / 1.124 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.136, allocations: 0 / 1.124 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/1.136, allocations: 46.48 kB / 1.124 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/1.137, allocations: 21.55 kB / 1.124 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/1.137, allocations: 158.5 kB / 1.124 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/1.137, allocations: 0.6875 MB / 1.125 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.179e-05/1.137, allocations: 8.703 kB / 1.125 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/1.137, allocations: 18.88 kB / 1.125 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/1.137, allocations: 0 / 1.125 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/1.154, allocations: 2.654 MB / 1.128 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.154, allocations: 199.3 kB / 1.128 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.856, allocations: 2.109 kB / 1.128 GB, free: 34.8 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)