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.001533/0.001533, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001924/0.001924, allocations: 218.3 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.003972/0.003972, allocations: 281.9 kB / 313.5 MB, free: 2.828 MB / 238.1 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 1.173/1.173, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 98.64 kB / 0.7403 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1528, allocations: 95.38 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002678/0.1555, allocations: 1.506 MB / 0.8349 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.1563, allocations: 488.5 kB / 0.8354 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.1564, allocations: 0 / 0.8354 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.1564, allocations: 3.938 kB / 0.8354 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.1565, allocations: 11.94 kB / 0.8354 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.1567, allocations: 27.89 kB / 0.8354 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.074e-05/0.1567, allocations: 43.86 kB / 0.8355 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1568, allocations: 15.98 kB / 0.8355 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.1569, allocations: 19.92 kB / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.157, allocations: 19.91 kB / 0.8355 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.157, allocations: 11.94 kB / 0.8355 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.157, allocations: 8 kB / 0.8356 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.157, allocations: 11.98 kB / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.1571, allocations: 23.88 kB / 0.8356 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1572, allocations: 40.09 kB / 0.8356 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1572, allocations: 4 kB / 0.8356 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1572, allocations: 0 / 0.8356 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1572, allocations: 0 / 0.8356 GB, free: 6.41 MB / 0.5762 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.000485/0.1577, allocations: 286.2 kB / 0.8359 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1577, allocations: 13.34 kB / 0.8359 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.1577, allocations: 4.125 kB / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.1578, allocations: 34.75 kB / 0.836 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.1578, allocations: 8.875 kB / 0.836 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1579, allocations: 118.5 kB / 0.8361 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1579, allocations: 4.375 kB / 0.8361 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1579, allocations: 8.375 kB / 0.8361 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1581, allocations: 57.56 kB / 0.8361 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1581, allocations: 4 kB / 0.8361 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1581, allocations: 3.984 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1581, allocations: 4 kB / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.1582, allocations: 23.98 kB / 0.8362 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.1586, allocations: 263.8 kB / 0.8364 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1588, allocations: 58.53 kB / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.1588, allocations: 28.94 kB / 0.8365 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.1588, allocations: 0 / 0.8365 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.159, allocations: 67.39 kB / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.159, allocations: 3.938 kB / 0.8366 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002289/0.1592, allocations: 93.67 kB / 0.8367 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1593, allocations: 63.34 kB / 0.8367 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.1594, allocations: 113.8 kB / 0.8368 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1594, allocations: 29.7 kB / 0.8369 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.1594, allocations: 84.14 kB / 0.8369 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1595, allocations: 31.77 kB / 0.837 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.1595, allocations: 25.72 kB / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1596, allocations: 323.1 kB / 0.8373 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.1597, allocations: 16 kB / 0.8373 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.1597, allocations: 43.42 kB / 0.8374 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.1598, allocations: 71.36 kB / 0.8374 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1598, allocations: 3.938 kB / 0.8374 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001459/0.16, allocations: 97.58 kB / 0.8375 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.16, allocations: 9.859 kB / 0.8375 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.16, allocations: 0 / 0.8375 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.16, allocations: 4 kB / 0.8375 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.1601, allocations: 15.97 kB / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1601, allocations: 0 / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.1602, allocations: 11.92 kB / 0.8376 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1602, allocations: 8 kB / 0.8376 GB, free: 4.199 MB / 0.5762 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 9.018e-05/0.1603, allocations: 116.2 kB / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1603, allocations: 7.953 kB / 0.8377 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.1603, allocations: 8.062 kB / 0.8377 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1603, allocations: 0 / 0.8377 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1603, allocations: 7.938 kB / 0.8377 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1603, allocations: 7.938 kB / 0.8377 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.1607, allocations: 329.5 kB / 0.838 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1607, allocations: 3.984 kB / 0.838 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.1607, allocations: 4 kB / 0.838 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1607, allocations: 0 / 0.838 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1607, allocations: 3.938 kB / 0.838 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1607, allocations: 4 kB / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1607, allocations: 0 / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1609, allocations: 187.4 kB / 0.8382 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-06/0.1609, allocations: 0 / 0.8382 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1609, allocations: 11.94 kB / 0.8382 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.161, allocations: 3.984 kB / 0.8382 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1611, allocations: 8.266 kB / 0.8383 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.1611, allocations: 4 kB / 0.8383 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.1611, allocations: 87.45 kB / 0.8383 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1611, allocations: 0 / 0.8383 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002331/0.1614, allocations: 27.89 kB / 0.8384 GB, free: 3.312 MB / 0.5762 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.0004542/0.1618, allocations: 0.7007 MB / 0.8391 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1619, allocations: 63.78 kB / 0.8391 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1619, allocations: 0 / 0.8391 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.134e-05/0.162, allocations: 24.06 kB / 0.8391 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1623, allocations: 13 kB / 0.8391 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1636, allocations: 1.381 MB / 0.8405 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1639, allocations: 0.6924 MB / 0.8412 GB, free: 300 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.1639, allocations: 4 kB / 0.8412 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.164, allocations: 19.44 kB / 0.8412 GB, free: 280 kB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.164, allocations: 0 / 0.8412 GB, free: 280 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.1845, allocations: 1.96 MB / 0.8431 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.91, allocations: 17.73 kB / 0.8431 GB, free: 14.46 MB / 0.5919 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 14.930754784028977] Failed to read output from testmodel.py, exit status != 0: 11.067053951031994 11.091465691 10.930080968 Calling exit ...