Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001237/0.001238, allocations: 177.1 kB / 371.8 MB, free: 10.28 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.992/1.992, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009616/0.000962, allocations: 98.91 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004214, allocations: 12.62 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008554/0.2558, allocations: 386.8 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2572, allocations: 1.138 MB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.2573, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.2573, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.2574, allocations: 15.91 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2579, allocations: 123.1 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.258, allocations: 67.84 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.2581, allocations: 4 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.2581, allocations: 47.89 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.2582, allocations: 43.86 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.2583, allocations: 8 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.2583, allocations: 16 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.2584, allocations: 15.98 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.2584, allocations: 45.56 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.2585, allocations: 80.03 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2585, allocations: 0 / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2585, allocations: 4 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2586, allocations: 0 / 0.9814 GB, free: 25.59 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.0005212/0.2591, allocations: 380.9 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2591, allocations: 12.02 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.2592, allocations: 30.56 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.2592, allocations: 11.91 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.2593, allocations: 171 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2594, allocations: 8 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.2594, allocations: 8 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.2596, allocations: 77.58 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2596, allocations: 0 / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2596, allocations: 0 / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2596, allocations: 0 / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.2598, allocations: 43.97 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.2603, allocations: 328.7 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2605, allocations: 74.55 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.2605, allocations: 3.984 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.2608, allocations: 115.5 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.2608, allocations: 0 / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004577/0.2613, allocations: 177.5 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2613, allocations: 59.41 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.2614, allocations: 121.8 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.2614, allocations: 29.7 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.2614, allocations: 88.33 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.2615, allocations: 15.72 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.2615, allocations: 7.938 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.2616, allocations: 326.8 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2617, allocations: 47.97 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.2618, allocations: 78.48 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.262, allocations: 77.69 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.262, allocations: 0 / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003353/0.2623, allocations: 200.1 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.2624, allocations: 37.69 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2624, allocations: 0 / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2624, allocations: 3.984 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2625, allocations: 19.92 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2625, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.2627, allocations: 47.88 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.2627, allocations: 8 kB / 0.9839 GB, free: 22.77 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 7.814e-05/0.2628, allocations: 123.7 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.2628, allocations: 11.84 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.2629, allocations: 8.375 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2629, allocations: 4 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2629, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2629, allocations: 4 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.2633, allocations: 418.3 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2633, allocations: 0 / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.2634, allocations: 4 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2634, allocations: 0 / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2634, allocations: 11.98 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2634, allocations: 3.938 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2634, allocations: 4 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.2637, allocations: 243.3 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.2637, allocations: 81.11 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.2638, allocations: 0 / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.2639, allocations: 7.984 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.2639, allocations: 8 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2639, allocations: 11.98 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.264, allocations: 83.28 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.264, allocations: 480 / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002604/0.2642, allocations: 27.98 kB / 0.9849 GB, free: 21.64 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.0005067/0.2647, allocations: 0.7864 MB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.265, allocations: 183.3 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2651, allocations: 0 / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2652, allocations: 55.91 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.2654, allocations: 21.91 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.266, allocations: 0.6952 MB / 0.9866 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2661, allocations: 0.6887 MB / 0.9873 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.2661, allocations: 12.59 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.2662, allocations: 20.31 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2662, allocations: 0 / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.2786, allocations: 2.402 MB / 0.9897 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.2788, allocations: 214.7 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.764, allocations: 0 / 0.9899 GB, free: 16.6 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)