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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 109.7 kB / 16.38 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 194.9 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.13/2.13, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3078, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002635/0.3105, allocations: 0.6901 MB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3126, allocations: 1.168 MB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.3127, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.3127, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3129, allocations: 11.86 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.3137, allocations: 147 kB / 0.7868 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.314, allocations: 135.8 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3142, allocations: 4 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3143, allocations: 55.83 kB / 0.787 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3145, allocations: 59.86 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.3146, allocations: 12 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3147, allocations: 27.98 kB / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.3147, allocations: 11.92 kB / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.417e-05/0.3148, allocations: 47.83 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3151, allocations: 119.7 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3151, allocations: 0 / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3151, allocations: 0 / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3151, allocations: 0 / 0.7872 GB, free: 0.6719 MB / 0.6544 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.000964/0.3161, allocations: 408.9 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3162, allocations: 8.031 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.3162, allocations: 8.938 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5522/0.8685, allocations: 172.2 kB / 0.7878 GB, free: 49.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.8686, allocations: 4.344 kB / 0.7878 GB, free: 49.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.8687, allocations: 7.75 kB / 0.7878 GB, free: 49.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.8689, allocations: 71.86 kB / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.869, allocations: 0.9375 kB / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.869, allocations: 1.344 kB / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.869, allocations: 0 / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.8692, allocations: 47.44 kB / 0.7879 GB, free: 49.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.8697, allocations: 316.1 kB / 0.7882 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.8699, allocations: 75.53 kB / 0.7883 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.87, allocations: 38.8 kB / 0.7883 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.8701, allocations: 1.969 kB / 0.7883 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.8703, allocations: 106.5 kB / 0.7884 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.8704, allocations: 0 / 0.7884 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000504/0.8709, allocations: 183.8 kB / 0.7886 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.8709, allocations: 53 kB / 0.7887 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.871, allocations: 120 kB / 0.7888 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.871, allocations: 31.58 kB / 0.7888 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.8711, allocations: 87.41 kB / 0.7889 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.8711, allocations: 25.16 kB / 0.7889 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.227e-05/0.8712, allocations: 39.98 kB / 0.789 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.8713, allocations: 321.3 kB / 0.7893 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.8714, allocations: 46.8 kB / 0.7893 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.8715, allocations: 73.7 kB / 0.7894 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.8718, allocations: 121.1 kB / 0.7895 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8718, allocations: 0 / 0.7895 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003654/0.8721, allocations: 207 kB / 0.7897 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.8722, allocations: 34.86 kB / 0.7897 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8722, allocations: 5.172 kB / 0.7897 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8722, allocations: 0 / 0.7897 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.8723, allocations: 11.97 kB / 0.7897 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.8724, allocations: 7.344 kB / 0.7898 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.8726, allocations: 27.94 kB / 0.7898 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.8726, allocations: 6.531 kB / 0.7898 GB, free: 48.26 MB / 0.6544 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.8727, allocations: 127.5 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.8727, allocations: 14.33 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.8727, allocations: 8.688 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.8727, allocations: 2.672 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8727, allocations: 2.531 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.8728, allocations: 81.02 kB / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.8728, allocations: 5.812 kB / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.8729, allocations: 11.5 kB / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.8729, allocations: 7.984 kB / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003073/0.8732, allocations: 225.1 kB / 0.7902 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003076/0.8736, allocations: 306.8 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001127/0.8737, allocations: 52.55 kB / 0.7906 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.8737, allocations: 92.17 kB / 0.7907 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of Backend: time 1.011e-06/0.8738, allocations: 3.562 kB / 0.7907 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006288/0.8744, allocations: 223 kB / 0.7909 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005188/0.8749, allocations: 0.5992 MB / 0.7915 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.004526/0.8795, allocations: 1.752 MB / 0.7932 GB, free: 46.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)