Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001085/0.001085, allocations: 189 kB / 377.1 MB, free: 1.531 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.683/1.683, allocations: 205.4 MB / 0.6366 GB, free: 8.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009033/0.0009034, allocations: 87.14 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8584/1.155, allocations: 139.2 MB / 1.124 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/1.155, allocations: 75.81 kB / 1.124 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01591/1.171, allocations: 6.19 MB / 1.131 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.013e-06/1.171, allocations: 0 / 1.131 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.808e-06/1.171, allocations: 4 kB / 1.131 GB, free: 31.1 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000628/1.172, allocations: 0.5779 MB / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.172, allocations: 12.02 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/1.172, allocations: 45.22 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/1.172, allocations: 34.3 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/1.172, allocations: 207 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/1.172, allocations: 13.73 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/1.172, allocations: 29.12 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/1.172, allocations: 126.2 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.172, allocations: 3.938 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/1.172, allocations: 1.969 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.172, allocations: 4 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/1.172, allocations: 54.45 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/1.173, allocations: 0.8817 MB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/1.173, allocations: 109.8 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/1.173, allocations: 1.266 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/1.174, allocations: 172.7 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/1.174, allocations: 0 / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.000438/1.174, allocations: 231.2 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.174, allocations: 142 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/1.174, allocations: 216.2 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/1.174, allocations: 37.7 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/1.175, allocations: 130.7 kB / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/1.175, allocations: 34.31 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/1.175, allocations: 12 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/1.175, allocations: 329.7 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/1.175, allocations: 150.8 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/1.175, allocations: 220 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/1.176, allocations: 258.9 kB / 1.134 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.176, allocations: 0 / 1.134 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007887/1.176, allocations: 0.5484 MB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/1.177, allocations: 139.3 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.177, allocations: 11.95 kB / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/1.177, allocations: 5.125 kB / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/1.177, allocations: 9.969 kB / 1.135 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.177, allocations: 9.453 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/1.177, allocations: 145 kB / 1.135 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/1.177, allocations: 25.62 kB / 1.135 GB, free: 26.26 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001362/1.178, allocations: 147.5 kB / 1.135 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/1.178, allocations: 24.23 kB / 1.135 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/1.178, allocations: 27.91 kB / 1.135 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.178, allocations: 7.953 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.178, allocations: 1.562 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.178, allocations: 0.75 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/1.178, allocations: 266.6 kB / 1.136 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.178, allocations: 0.9375 kB / 1.136 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/1.178, allocations: 9.781 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.178, allocations: 4 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/1.178, allocations: 9.266 kB / 1.136 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.178, allocations: 1.281 kB / 1.136 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.178, allocations: 3.953 kB / 1.136 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/1.178, allocations: 254.1 kB / 1.136 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/1.178, allocations: 94.33 kB / 1.136 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/1.179, allocations: 10.72 kB / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/1.179, allocations: 5.344 kB / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/1.179, allocations: 13.72 kB / 1.136 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/1.179, allocations: 9.219 kB / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001354/1.179, allocations: 163.7 kB / 1.136 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/1.179, allocations: 0 / 1.136 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003592/1.179, allocations: 77.41 kB / 1.136 GB, free: 25.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.000687/1.18, allocations: 1.019 MB / 1.137 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006678/1.181, allocations: 0.5264 MB / 1.138 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.181, allocations: 3.938 kB / 1.138 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.181, allocations: 63.02 kB / 1.138 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/1.181, allocations: 63.27 kB / 1.138 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/1.182, allocations: 2.32 MB / 1.14 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/1.183, allocations: 0.7377 MB / 1.141 GB, free: 20.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.914e-05/1.183, allocations: 19.09 kB / 1.141 GB, free: 20.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/1.183, allocations: 53.67 kB / 1.141 GB, free: 20.26 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.183, allocations: 0 / 1.141 GB, free: 20.26 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/1.204, allocations: 5.991 MB / 1.147 GB, free: 16.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.204, allocations: 183.5 kB / 1.147 GB, free: 16.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/3.102, allocations: 0 / 1.147 GB, free: 16.7 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)