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.7477/0.7477, allocations: 127.4 MB / 134.9 MB, free: 3.77 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 184.8 kB / 164.7 MB, free: 6.527 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.571/1.571, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.0008264/0.0008264, allocations: 84.33 kB / 476.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.133e-05, allocations: 4 kB / 0.5466 GB, free: 60.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1594, allocations: 76.77 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.532/0.6914, allocations: 103 MB / 0.7222 GB, free: 12.37 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.6917, allocations: 80 kB / 0.7222 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003894/0.6956, allocations: 1.364 MB / 0.7236 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.6956, allocations: 0 / 0.7236 GB, free: 11.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.6956, allocations: 0 / 0.7236 GB, free: 11.14 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.0004322/0.6961, allocations: 347.1 kB / 0.7239 GB, free: 10.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.6961, allocations: 8.031 kB / 0.7239 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.6962, allocations: 11.86 kB / 0.7239 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.6963, allocations: 171.1 kB / 0.7241 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6964, allocations: 3.938 kB / 0.7241 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.6964, allocations: 4 kB / 0.7241 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.993e-05/0.6965, allocations: 19.69 kB / 0.7241 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.6966, allocations: 49.55 kB / 0.7242 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6966, allocations: 2.188 kB / 0.7242 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6966, allocations: 0 / 0.7242 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6967, allocations: 7.953 kB / 0.7242 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.6972, allocations: 284.2 kB / 0.7244 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.6973, allocations: 46.2 kB / 0.7245 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.6973, allocations: 27.69 kB / 0.7245 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.6974, allocations: 0 / 0.7245 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.6975, allocations: 73.92 kB / 0.7246 GB, free: 10.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.6975, allocations: 0 / 0.7246 GB, free: 10.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002101/0.6977, allocations: 75.45 kB / 0.7247 GB, free: 9.938 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.6978, allocations: 55.34 kB / 0.7247 GB, free: 9.871 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.6979, allocations: 96.22 kB / 0.7248 GB, free: 9.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.6979, allocations: 33.69 kB / 0.7248 GB, free: 9.734 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.698, allocations: 83.89 kB / 0.7249 GB, free: 9.652 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.698, allocations: 27.03 kB / 0.7249 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.698, allocations: 0 / 0.7249 GB, free: 9.629 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6982, allocations: 318.5 kB / 0.7252 GB, free: 9.312 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.6982, allocations: 19.5 kB / 0.7253 GB, free: 9.297 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.6983, allocations: 41.19 kB / 0.7253 GB, free: 9.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.6983, allocations: 23.47 kB / 0.7253 GB, free: 9.238 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6983, allocations: 4 kB / 0.7253 GB, free: 9.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001212/0.6985, allocations: 85.31 kB / 0.7254 GB, free: 9.156 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6985, allocations: 8 kB / 0.7254 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6985, allocations: 0 / 0.7254 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6985, allocations: 0 / 0.7254 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.6986, allocations: 19.58 kB / 0.7254 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6986, allocations: 4 kB / 0.7254 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.6987, allocations: 11.89 kB / 0.7255 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.6987, allocations: 4 kB / 0.7255 GB, free: 9.113 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 9.892e-05/0.6988, allocations: 115.4 kB / 0.7256 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001204/0.6989, allocations: 76.31 kB / 0.7256 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.6989, allocations: 7.906 kB / 0.7256 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.699, allocations: 11.42 kB / 0.7257 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.699, allocations: 0 / 0.7257 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.699, allocations: 3.984 kB / 0.7257 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.699, allocations: 0 / 0.7257 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.6994, allocations: 324 kB / 0.726 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6994, allocations: 0 / 0.726 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.6994, allocations: 11.92 kB / 0.726 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.6995, allocations: 3.953 kB / 0.726 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6995, allocations: 4 kB / 0.726 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6995, allocations: 0 / 0.726 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6995, allocations: 0 / 0.726 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.6996, allocations: 180.3 kB / 0.7262 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.6997, allocations: 85.09 kB / 0.7262 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.6997, allocations: 3.953 kB / 0.7262 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.6998, allocations: 4 kB / 0.7262 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.6999, allocations: 7.984 kB / 0.7263 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.6999, allocations: 11.55 kB / 0.7263 GB, free: 8.238 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.937e-05/0.6999, allocations: 79.28 kB / 0.7263 GB, free: 8.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6999, allocations: 0 / 0.7263 GB, free: 8.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.7002, allocations: 12 kB / 0.7264 GB, free: 8.148 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.0005099/0.7007, allocations: 0.7052 MB / 0.727 GB, free: 7.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.7008, allocations: 49.31 kB / 0.7271 GB, free: 7.395 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7008, allocations: 0 / 0.7271 GB, free: 7.395 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.7009, allocations: 22.94 kB / 0.7271 GB, free: 7.375 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.7011, allocations: 19.94 kB / 0.7271 GB, free: 7.355 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.7015, allocations: 119.6 kB / 0.7272 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.7018, allocations: 0.6856 MB / 0.7279 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.7019, allocations: 7.984 kB / 0.7279 GB, free: 6.492 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.7019, allocations: 18.19 kB / 0.7279 GB, free: 6.48 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7019, allocations: 0 / 0.7279 GB, free: 6.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.7228, allocations: 1.198 MB / 0.7291 GB, free: 5.289 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.723, allocations: 155.5 kB / 0.7293 GB, free: 5.102 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.438, allocations: 3.281 kB / 0.7293 GB, free: 5.102 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)