Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7589/0.7589, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 176.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.1 MB / 404.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008702/0.0008701, allocations: 86.23 kB / 481.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.398e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1772, allocations: 76.75 MB / 0.6282 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5262/0.7034, allocations: 103.3 MB / 0.7291 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.7037, allocations: 76.02 kB / 0.7292 GB, free: 10.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003776/0.7075, allocations: 1.37 MB / 0.7306 GB, free: 8.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7075, allocations: 0 / 0.7306 GB, free: 8.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.7075, allocations: 0 / 0.7306 GB, free: 8.84 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004078/0.708, allocations: 358.7 kB / 0.7309 GB, free: 8.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.708, allocations: 8.031 kB / 0.7309 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.7081, allocations: 34.31 kB / 0.7309 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.7081, allocations: 11.86 kB / 0.7309 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7083, allocations: 171 kB / 0.7311 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.7083, allocations: 3.375 kB / 0.7311 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.7083, allocations: 4 kB / 0.7311 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.7084, allocations: 57 kB / 0.7312 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7084, allocations: 0.6562 kB / 0.7312 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.7085, allocations: 3.75 kB / 0.7312 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.7085, allocations: 4 kB / 0.7312 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.494e-05/0.7085, allocations: 27.38 kB / 0.7312 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.7091, allocations: 302.7 kB / 0.7315 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.7092, allocations: 59.34 kB / 0.7316 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.7092, allocations: 25.77 kB / 0.7316 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.7093, allocations: 3.984 kB / 0.7316 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.7094, allocations: 70.47 kB / 0.7316 GB, free: 7.617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.7094, allocations: 4 kB / 0.7317 GB, free: 7.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001975/0.7096, allocations: 79.25 kB / 0.7317 GB, free: 7.539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.7097, allocations: 59.39 kB / 0.7318 GB, free: 7.469 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.7098, allocations: 99.72 kB / 0.7319 GB, free: 7.371 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.7098, allocations: 29.8 kB / 0.7319 GB, free: 7.336 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.7099, allocations: 87.64 kB / 0.732 GB, free: 7.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.7099, allocations: 31 kB / 0.732 GB, free: 7.223 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.7099, allocations: 0 / 0.732 GB, free: 7.223 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.71, allocations: 318.3 kB / 0.7323 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.7101, allocations: 19.12 kB / 0.7323 GB, free: 6.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.7101, allocations: 50.3 kB / 0.7324 GB, free: 6.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.7102, allocations: 19.25 kB / 0.7324 GB, free: 6.824 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7102, allocations: 0 / 0.7324 GB, free: 6.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001361/0.7103, allocations: 91.67 kB / 0.7325 GB, free: 6.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7104, allocations: 7.953 kB / 0.7325 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7104, allocations: 4.031 kB / 0.7325 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7104, allocations: 4 kB / 0.7325 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.7105, allocations: 18.98 kB / 0.7325 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.7105, allocations: 0 / 0.7325 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.7106, allocations: 11.91 kB / 0.7325 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.7106, allocations: 4 kB / 0.7325 GB, free: 6.695 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.163e-05/0.7107, allocations: 114.2 kB / 0.7327 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.7107, allocations: 0 / 0.7327 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.7107, allocations: 22.73 kB / 0.7327 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7107, allocations: 0 / 0.7327 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7107, allocations: 0 / 0.7327 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7107, allocations: 0 / 0.7327 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.7112, allocations: 354.8 kB / 0.733 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7112, allocations: 4 kB / 0.733 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.7112, allocations: 3.953 kB / 0.733 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7112, allocations: 8 kB / 0.733 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.7112, allocations: 7.359 kB / 0.733 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7112, allocations: 0 / 0.733 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7112, allocations: 0 / 0.733 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.7114, allocations: 173.7 kB / 0.7332 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.7115, allocations: 92.81 kB / 0.7333 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.7115, allocations: 3.953 kB / 0.7333 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.7116, allocations: 11.98 kB / 0.7333 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.7116, allocations: 7.984 kB / 0.7333 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7117, allocations: 7.188 kB / 0.7333 GB, free: 5.859 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.047e-05/0.7117, allocations: 83.27 kB / 0.7334 GB, free: 5.777 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7117, allocations: 0 / 0.7334 GB, free: 5.777 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.7119, allocations: 15.75 kB / 0.7334 GB, free: 5.766 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004303/0.7124, allocations: 0.7115 MB / 0.7341 GB, free: 5.039 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.7125, allocations: 58.88 kB / 0.7342 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7125, allocations: 0 / 0.7342 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.7126, allocations: 30.61 kB / 0.7342 GB, free: 4.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.7128, allocations: 19.05 kB / 0.7342 GB, free: 4.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.7132, allocations: 129.2 kB / 0.7343 GB, free: 4.805 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.7135, allocations: 0.6965 MB / 0.735 GB, free: 4.082 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.7135, allocations: 4 kB / 0.735 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.7136, allocations: 15.12 kB / 0.735 GB, free: 4.066 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7136, allocations: 0 / 0.735 GB, free: 4.066 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.7259, allocations: 1.51 MB / 0.7365 GB, free: 2.691 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.7262, allocations: 176 kB / 0.7367 GB, free: 2.465 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.313, allocations: 0 / 0.7367 GB, free: 2.465 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)