Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001179, allocations: 103.2 kB / 16.4 MB, free: 6.453 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.001193/0.001193, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6451/0.6451, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 69.39 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1128, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002343/0.1152, allocations: 1.463 MB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.1159, allocations: 443 kB / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.116, allocations: 0 / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.116, allocations: 11.86 kB / 0.6334 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.1161, allocations: 7.875 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.1162, allocations: 19.98 kB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.1163, allocations: 55.83 kB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.1164, allocations: 15.98 kB / 0.6335 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.1165, allocations: 15.94 kB / 0.6335 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.1165, allocations: 23.91 kB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1166, allocations: 4 kB / 0.6336 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.1166, allocations: 8 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1166, allocations: 11.92 kB / 0.6336 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1166, allocations: 23.92 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.1167, allocations: 50.62 kB / 0.6337 GB, free: 2.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1167, allocations: 7.922 kB / 0.6337 GB, free: 2.742 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1168, allocations: 0 / 0.6337 GB, free: 2.742 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1168, allocations: 0 / 0.6337 GB, free: 2.742 MB / 478.1 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.0004358/0.1172, allocations: 356.3 kB / 0.634 GB, free: 2.348 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1172, allocations: 12.03 kB / 0.634 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1173, allocations: 34.75 kB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.1173, allocations: 8.844 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1174, allocations: 164.3 kB / 0.6342 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1175, allocations: 12.36 kB / 0.6342 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1175, allocations: 4.375 kB / 0.6342 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1176, allocations: 57.75 kB / 0.6343 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1176, allocations: 4 kB / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1176, allocations: 4 kB / 0.6343 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1176, allocations: 0 / 0.6343 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.1177, allocations: 23.98 kB / 0.6343 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1181, allocations: 308.6 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.1182, allocations: 54.56 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.1183, allocations: 28.94 kB / 0.6347 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.1183, allocations: 4 kB / 0.6347 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.1185, allocations: 75.41 kB / 0.6348 GB, free: 1.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1185, allocations: 0 / 0.6348 GB, free: 1.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002025/0.1187, allocations: 101.5 kB / 0.6349 GB, free: 1.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1187, allocations: 51.41 kB / 0.6349 GB, free: 1.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.881e-05/0.1188, allocations: 109.8 kB / 0.635 GB, free: 1.156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1188, allocations: 29.7 kB / 0.635 GB, free: 1.121 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.1189, allocations: 88.08 kB / 0.6351 GB, free: 1.031 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1189, allocations: 27.64 kB / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1189, allocations: 25.72 kB / 0.6352 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.119, allocations: 322.8 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.1191, allocations: 16 kB / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.1191, allocations: 51.36 kB / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.1192, allocations: 67.55 kB / 0.6356 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1192, allocations: 0 / 0.6356 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001294/0.1193, allocations: 97.5 kB / 0.6357 GB, free: 400 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1194, allocations: 4 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1194, allocations: 4 kB / 0.6357 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1194, allocations: 3.938 kB / 0.6357 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.1195, allocations: 16.09 kB / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1195, allocations: 4 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.1195, allocations: 11.98 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1196, allocations: 3.938 kB / 0.6358 GB, free: 352 kB / 478.1 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/0.1196, allocations: 122 kB / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.1197, allocations: 3.938 kB / 0.6359 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.1197, allocations: 12.34 kB / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1197, allocations: 0 / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1197, allocations: 4 kB / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1197, allocations: 0 / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.1201, allocations: 370.2 kB / 0.6362 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1201, allocations: 0 / 0.6362 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.1201, allocations: 8 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1201, allocations: 0 / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1201, allocations: 4 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1202, allocations: 3.938 kB / 0.6363 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1202, allocations: 0 / 0.6363 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1203, allocations: 187.4 kB / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.1203, allocations: 77.11 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1204, allocations: 4 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.1204, allocations: 11.92 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1205, allocations: 11.98 kB / 0.6365 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1205, allocations: 0 / 0.6365 GB, free: 15.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.265e-05/0.1205, allocations: 79.28 kB / 0.6366 GB, free: 15.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.1205, allocations: 4 kB / 0.6366 GB, free: 15.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1208, allocations: 19.94 kB / 0.6366 GB, free: 15.34 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000356/0.1211, allocations: 0.7085 MB / 0.6373 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1213, allocations: 64.12 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1213, allocations: 3.938 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.1213, allocations: 24.06 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.1216, allocations: 15.92 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.1226, allocations: 1.362 MB / 0.6388 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.1228, allocations: 0.6885 MB / 0.6394 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.1229, allocations: 7.984 kB / 0.6394 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1229, allocations: 15.44 kB / 0.6395 GB, free: 12.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1229, allocations: 0 / 0.6395 GB, free: 12.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.1393, allocations: 1.796 MB / 0.6412 GB, free: 10.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.968, allocations: 0 / 0.6412 GB, free: 10.6 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)