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 2.701/2.701, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001508/0.001508, allocations: 184.5 kB / 371 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 2.243/2.243, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.000994/0.0009941, allocations: 95.33 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005114, allocations: 13.2 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2447, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0009442/0.2457, allocations: 398.4 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2474, allocations: 1.15 MB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2475, allocations: 4 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2476, allocations: 0 / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.2477, allocations: 3.938 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.2484, allocations: 127.1 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2485, allocations: 99.75 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2486, allocations: 11.98 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2487, allocations: 51.89 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2489, allocations: 43.88 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.2489, allocations: 4 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.249, allocations: 19.98 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.249, allocations: 7.984 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.2491, allocations: 41.64 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2493, allocations: 84.08 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2493, allocations: 3.938 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2493, allocations: 0 / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2493, allocations: 0 / 0.9804 GB, free: 26.27 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.000677/0.25, allocations: 394.2 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2501, allocations: 8.031 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.2501, allocations: 11.91 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2502, allocations: 167 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.2503, allocations: 4 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.2503, allocations: 8 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.2507, allocations: 77.58 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2507, allocations: 0 / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2507, allocations: 7.984 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2507, allocations: 4 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.251, allocations: 43.97 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.2516, allocations: 324.7 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.252, allocations: 78.42 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.2522, allocations: 36.91 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.2522, allocations: 0 / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.2526, allocations: 103.3 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.366e-06/0.2526, allocations: 4 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0008151/0.2534, allocations: 185.5 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2535, allocations: 51.41 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.2536, allocations: 122.1 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.2536, allocations: 33.7 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.2537, allocations: 88.31 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.2537, allocations: 27.59 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.2538, allocations: 8 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.2539, allocations: 318.8 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.2541, allocations: 47.97 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.2544, allocations: 74.48 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2546, allocations: 77.69 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2546, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006193/0.2553, allocations: 199.2 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.2553, allocations: 37.69 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2553, allocations: 7.984 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2554, allocations: 0 / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.2556, allocations: 16 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2556, allocations: 4 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.256, allocations: 47.81 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.256, allocations: 8 kB / 0.9829 GB, free: 23.44 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 0.0001161/0.2562, allocations: 125.8 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.2562, allocations: 7.906 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.2562, allocations: 8.375 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2562, allocations: 4 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2563, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2563, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.257, allocations: 418.3 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.257, allocations: 4 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.2571, allocations: 4 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.2571, allocations: 0 / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2571, allocations: 3.938 kB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2572, allocations: 0 / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2572, allocations: 7.984 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.2577, allocations: 247.9 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.2578, allocations: 85.02 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.2578, allocations: 4 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.258, allocations: 7.984 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.2581, allocations: 4 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.2581, allocations: 7.984 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.2582, allocations: 87.23 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2582, allocations: 0 / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003594/0.2585, allocations: 35.98 kB / 0.9839 GB, free: 22.3 MB / 0.6198 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) * Number of clocked states: 0 () * 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.0001937/0.2588, allocations: 103.2 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005723/0.2593, allocations: 183.3 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2594, allocations: 7.938 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.2596, allocations: 55.91 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.26, allocations: 12.12 kB / 0.9842 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.2606, allocations: 187.3 kB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.2607, allocations: 0.6848 MB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.828e-05/0.2608, allocations: 12.66 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.2608, allocations: 12.19 kB / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2609, allocations: 0 / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.005557/0.2664, allocations: 1.489 MB / 0.9865 GB, free: 19.51 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)