Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.842/1.842, allocations: 287.4 MB / 303.2 MB, free: 8.242 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.001044/0.001044, allocations: 176.6 kB / 371.8 MB, free: 10.84 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.831/1.831, allocations: 205.4 MB / 0.6304 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008323/0.0008321, allocations: 86.34 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005262/0.0005263, allocations: 12.52 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2413, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0007181/0.2421, allocations: 394.5 kB / 0.9797 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2433, allocations: 1.153 MB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.2433, allocations: 0 / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.2433, allocations: 0 / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.2434, allocations: 3.938 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2439, allocations: 129.7 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.244, allocations: 103.8 kB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.2441, allocations: 4 kB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.234e-05/0.2442, allocations: 47.89 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.2443, allocations: 43.88 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.2443, allocations: 8 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.2444, allocations: 23.92 kB / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.2444, allocations: 7.984 kB / 0.9812 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.2445, allocations: 45.69 kB / 0.9812 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2446, allocations: 76.09 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2446, allocations: 0 / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2446, allocations: 0 / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2446, allocations: 4 kB / 0.9813 GB, free: 26.14 MB / 0.6198 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.000541/0.2452, allocations: 388.9 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2452, allocations: 12.03 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.2453, allocations: 8.844 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.2454, allocations: 168.3 kB / 0.9818 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2454, allocations: 8.375 kB / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.2455, allocations: 8.359 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.2457, allocations: 70.22 kB / 0.9819 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2457, allocations: 192 / 0.9819 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2457, allocations: 7.922 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2457, allocations: 4 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.2459, allocations: 47.91 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.2463, allocations: 316.9 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.2464, allocations: 74.42 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.2465, allocations: 36.91 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2466, allocations: 4 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.2468, allocations: 115.2 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2468, allocations: 0 / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004227/0.2472, allocations: 185.4 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.2473, allocations: 59.41 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.2473, allocations: 109.8 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2474, allocations: 33.7 kB / 0.9829 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.2474, allocations: 92.12 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.2474, allocations: 19.66 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.2474, allocations: 4 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.405e-05/0.2475, allocations: 318.8 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2476, allocations: 51.97 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2478, allocations: 71.3 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.248, allocations: 128.2 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.248, allocations: 7.938 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003323/0.2483, allocations: 207.1 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.2483, allocations: 37.69 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2483, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2484, allocations: 4 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2485, allocations: 15.94 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2485, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2487, allocations: 48.02 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2487, allocations: 8 kB / 0.9838 GB, free: 23.26 MB / 0.6198 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.649e-05/0.2488, allocations: 121.8 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.2488, allocations: 7.906 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.2488, allocations: 12.38 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2489, allocations: 0 / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2489, allocations: 4 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.2489, allocations: 85.8 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2489, allocations: 3.984 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.249, allocations: 8 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.249, allocations: 11.92 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002877/0.2493, allocations: 232.8 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002769/0.2496, allocations: 314.7 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001039/0.2497, allocations: 47.97 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.2498, allocations: 99.2 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of Backend: time 2.81e-07/0.2498, allocations: 0 / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.2502, allocations: 220.5 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000364/0.2506, allocations: 0.6248 MB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.003201/0.2538, allocations: 1.572 MB / 0.9871 GB, free: 19.83 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)