Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5095/0.5095, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 103.6 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.211e-05, allocations: 4 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3843, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.5104, allocations: 102 MB / 0.6598 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.5106, allocations: 76.84 kB / 0.6599 GB, free: 2.234 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003319/0.5139, allocations: 1.225 MB / 0.6611 GB, free: 1.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.514, allocations: 0 / 0.6611 GB, free: 1.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.514, allocations: 4 kB / 0.6611 GB, free: 1.016 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004411/0.5144, allocations: 380 kB / 0.6615 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5145, allocations: 11.98 kB / 0.6615 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.5145, allocations: 15.84 kB / 0.6615 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.5147, allocations: 167.1 kB / 0.6617 GB, free: 372 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5147, allocations: 0 / 0.6617 GB, free: 372 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.5147, allocations: 8 kB / 0.6617 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5148, allocations: 45.69 kB / 0.6617 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5148, allocations: 0 / 0.6617 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.5149, allocations: 0 / 0.6617 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5149, allocations: 4 kB / 0.6617 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.5149, allocations: 19.95 kB / 0.6617 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.5153, allocations: 276.8 kB / 0.662 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.5154, allocations: 38.58 kB / 0.662 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.5155, allocations: 20.98 kB / 0.662 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.5155, allocations: 4 kB / 0.6621 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.5156, allocations: 100.6 kB / 0.6621 GB, free: 15.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.5156, allocations: 0 / 0.6621 GB, free: 15.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002135/0.5159, allocations: 127.2 kB / 0.6623 GB, free: 15.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.5159, allocations: 85.11 kB / 0.6623 GB, free: 15.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.516, allocations: 97 kB / 0.6624 GB, free: 15.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.516, allocations: 29.7 kB / 0.6625 GB, free: 15.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.5161, allocations: 88.12 kB / 0.6626 GB, free: 15.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.5161, allocations: 19.88 kB / 0.6626 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.5161, allocations: 3.938 kB / 0.6626 GB, free: 15.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5162, allocations: 316.1 kB / 0.6629 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.5163, allocations: 20 kB / 0.6629 GB, free: 14.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.5163, allocations: 38.56 kB / 0.6629 GB, free: 14.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.5164, allocations: 41.7 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5164, allocations: 3.984 kB / 0.663 GB, free: 14.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001555/0.5166, allocations: 122.2 kB / 0.6631 GB, free: 14.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.5166, allocations: 33.7 kB / 0.6631 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5166, allocations: 4.062 kB / 0.6631 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5166, allocations: 11.95 kB / 0.6631 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.935e-05/0.5167, allocations: 4 kB / 0.6631 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.5167, allocations: 7.938 kB / 0.6632 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.5168, allocations: 12.86 kB / 0.6632 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.5168, allocations: 8 kB / 0.6632 GB, free: 14.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 8.218e-05/0.5169, allocations: 134.7 kB / 0.6633 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.5169, allocations: 11.89 kB / 0.6633 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.5169, allocations: 12.62 kB / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5169, allocations: 3.953 kB / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5169, allocations: 0 / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.517, allocations: 0 / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.5173, allocations: 393.3 kB / 0.6637 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5173, allocations: 4 kB / 0.6637 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.5174, allocations: 3.984 kB / 0.6637 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5174, allocations: 3.953 kB / 0.6637 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5174, allocations: 7.984 kB / 0.6637 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5174, allocations: 4 kB / 0.6637 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5174, allocations: 4 kB / 0.6637 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.5176, allocations: 225.9 kB / 0.6639 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.5177, allocations: 77.11 kB / 0.664 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.5177, allocations: 11.95 kB / 0.664 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.5178, allocations: 11.98 kB / 0.664 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.5179, allocations: 10.42 kB / 0.6641 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.5179, allocations: 4 kB / 0.6641 GB, free: 13.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.48e-05/0.5179, allocations: 87.28 kB / 0.6641 GB, free: 13.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5179, allocations: 0 / 0.6641 GB, free: 13.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.5181, allocations: 20 kB / 0.6642 GB, free: 13.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001326/0.5183, allocations: 96.89 kB / 0.6643 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.5184, allocations: 111.3 kB / 0.6644 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5185, allocations: 4 kB / 0.6644 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.5185, allocations: 95.45 kB / 0.6645 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.5188, allocations: 18.2 kB / 0.6645 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.519, allocations: 104.7 kB / 0.6646 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.5193, allocations: 0.6913 MB / 0.6652 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.5193, allocations: 7.781 kB / 0.6653 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.5194, allocations: 11.44 kB / 0.6653 GB, free: 12.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5194, allocations: 0 / 0.6653 GB, free: 12.3 MB / 490.7 MB Notification: Performance of Templates: time 0.002611/0.522, allocations: 0.7432 MB / 0.666 GB, free: 11.59 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)