Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8627/0.8627, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002133/0.002133, allocations: 236.9 kB / 259.4 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6821/0.6821, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6462 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.211e-05, allocations: 13.17 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001892/0.001914, allocations: 1.483 MB / 0.6477 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2436/0.2455, allocations: 451.2 kB / 0.6481 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.2456, allocations: 1.969 kB / 0.6481 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.2456, allocations: 5.672 kB / 0.6481 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.2457, allocations: 8.453 kB / 0.6481 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.2458, allocations: 23.52 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.2459, allocations: 51.31 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.246, allocations: 10.34 kB / 0.6482 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.2461, allocations: 32.61 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.2461, allocations: 18.97 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2461, allocations: 6.562 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.2461, allocations: 3.562 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.2462, allocations: 11.47 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.2462, allocations: 19.17 kB / 0.6483 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2463, allocations: 43.22 kB / 0.6484 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2463, allocations: 1.562 kB / 0.6484 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2463, allocations: 0 / 0.6484 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.2463, allocations: 1.984 kB / 0.6484 GB, free: 55.72 MB / 0.5573 GB 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.0003232/0.2466, allocations: 286 kB / 0.6486 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2467, allocations: 12.52 kB / 0.6486 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.373e-05/0.2467, allocations: 35.75 kB / 0.6487 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.2467, allocations: 6.797 kB / 0.6487 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.991e-05/0.2468, allocations: 116.2 kB / 0.6488 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2468, allocations: 3.625 kB / 0.6488 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2468, allocations: 7.656 kB / 0.6488 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.2469, allocations: 56.38 kB / 0.6489 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2469, allocations: 1.031 kB / 0.6489 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2469, allocations: 3.953 kB / 0.6489 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2469, allocations: 6.625 kB / 0.6489 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/0.247, allocations: 27.27 kB / 0.6489 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.2473, allocations: 254.8 kB / 0.6491 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.2474, allocations: 59.67 kB / 0.6492 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.2474, allocations: 22.88 kB / 0.6492 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2474, allocations: 6.141 kB / 0.6492 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.2475, allocations: 78.06 kB / 0.6493 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.2475, allocations: 0 / 0.6493 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0001786/0.2477, allocations: 98.98 kB / 0.6494 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.2478, allocations: 57.92 kB / 0.6495 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.504e-05/0.2478, allocations: 110 kB / 0.6496 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.2478, allocations: 28.27 kB / 0.6496 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.2478, allocations: 86.83 kB / 0.6497 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2479, allocations: 27.7 kB / 0.6497 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.2479, allocations: 27.72 kB / 0.6497 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.064e-05/0.2479, allocations: 317.9 kB / 0.65 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.2479, allocations: 16.58 kB / 0.65 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.248, allocations: 48.56 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.248, allocations: 68.56 kB / 0.6501 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.248, allocations: 0.75 kB / 0.6501 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.537e-05/0.2481, allocations: 102.8 kB / 0.6502 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2481, allocations: 8.469 kB / 0.6503 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2482, allocations: 1 kB / 0.6503 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2482, allocations: 3.203 kB / 0.6503 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.2482, allocations: 12 kB / 0.6503 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2482, allocations: 1.719 kB / 0.6503 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.2483, allocations: 9.172 kB / 0.6503 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2483, allocations: 4.406 kB / 0.6503 GB, free: 54.19 MB / 0.5573 GB 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 4.594e-05/0.2483, allocations: 124 kB / 0.6504 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.2483, allocations: 11.61 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.2483, allocations: 8.797 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2483, allocations: 1.5 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2483, allocations: 3.125 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2483, allocations: 3.234 kB / 0.6504 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2486, allocations: 332.8 kB / 0.6507 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2486, allocations: 0 / 0.6507 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.2486, allocations: 6.156 kB / 0.6508 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2486, allocations: 0.7812 kB / 0.6508 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2486, allocations: 4.953 kB / 0.6508 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2486, allocations: 2.156 kB / 0.6508 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2486, allocations: 0.5625 kB / 0.6508 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.2487, allocations: 186.2 kB / 0.6509 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.2487, allocations: 2.953 kB / 0.6509 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2487, allocations: 3.609 kB / 0.6509 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.2487, allocations: 9 kB / 0.651 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2488, allocations: 10.45 kB / 0.651 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2488, allocations: 2.688 kB / 0.651 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.662e-05/0.2488, allocations: 87.53 kB / 0.6511 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2488, allocations: 0 / 0.6511 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000155/0.249, allocations: 18.36 kB / 0.6511 GB, free: 53.56 MB / 0.5573 GB 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.0001938/0.2491, allocations: 0.7112 MB / 0.6518 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.679e-05/0.2492, allocations: 58.95 kB / 0.6518 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.2492, allocations: 0.9062 kB / 0.6518 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.2493, allocations: 21.05 kB / 0.6518 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.2495, allocations: 14.73 kB / 0.6519 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.2502, allocations: 1.387 MB / 0.6532 GB, free: 51.69 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.2502, allocations: 69.09 kB / 0.6533 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.2502, allocations: 6.5 kB / 0.6533 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.2502, allocations: 22.55 kB / 0.6533 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.2502, allocations: 0 / 0.6533 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.2637, allocations: 2.483 MB / 0.6557 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.511/6.775, allocations: 3.344 kB / 0.6557 GB, free: 50.77 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.35480045620352] Failed to read output from testmodel.py, exit status != 0: 6.853657159022987 6.863767109 6.61541835 Calling exit ...