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.001235/0.001235, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001381/0.001381, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.002473/0.002473, allocations: 270.6 kB / 313.5 MB, free: 2.637 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.21/1.21, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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.002774/0.002774, allocations: 101.1 kB / 0.7402 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1559, allocations: 95.39 MB / 0.8334 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002627/0.1585, allocations: 1.478 MB / 0.8348 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.1593, allocations: 456.6 kB / 0.8353 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.1593, allocations: 0 / 0.8353 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.1593, allocations: 3.938 kB / 0.8353 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.1594, allocations: 3.938 kB / 0.8353 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.1596, allocations: 23.95 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.568e-05/0.1596, allocations: 55.78 kB / 0.8353 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.1597, allocations: 12 kB / 0.8354 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.1598, allocations: 23.92 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.1599, allocations: 15.92 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1599, allocations: 4 kB / 0.8354 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.1599, allocations: 8 kB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.1599, allocations: 19.91 kB / 0.8354 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.1599, allocations: 23.86 kB / 0.8354 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1601, allocations: 40.11 kB / 0.8355 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1601, allocations: 0 / 0.8355 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1601, allocations: 0 / 0.8355 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1601, allocations: 3.938 kB / 0.8355 GB, free: 6.164 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.0004731/0.1605, allocations: 290.2 kB / 0.8358 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1606, allocations: 9.938 kB / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.312e-05/0.1606, allocations: 8.188 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.1606, allocations: 34.75 kB / 0.8358 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.1606, allocations: 4.938 kB / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1608, allocations: 118.5 kB / 0.8359 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1608, allocations: 8.312 kB / 0.8359 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1608, allocations: 4.375 kB / 0.8359 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1609, allocations: 61.61 kB / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1609, allocations: 0 / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1609, allocations: 0 / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1609, allocations: 0 / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.161, allocations: 27.98 kB / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1614, allocations: 259.9 kB / 0.8363 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1615, allocations: 54.56 kB / 0.8363 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.1616, allocations: 24.88 kB / 0.8363 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.1616, allocations: 0 / 0.8363 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1618, allocations: 83.34 kB / 0.8364 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1618, allocations: 0 / 0.8364 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002178/0.162, allocations: 97.62 kB / 0.8365 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.162, allocations: 55.39 kB / 0.8366 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.1621, allocations: 114.2 kB / 0.8367 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1621, allocations: 25.7 kB / 0.8367 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.1622, allocations: 92.12 kB / 0.8368 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1622, allocations: 27.78 kB / 0.8368 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1623, allocations: 33.64 kB / 0.8369 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1624, allocations: 314.8 kB / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.1624, allocations: 19.98 kB / 0.8372 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.1625, allocations: 47.36 kB / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.1626, allocations: 67.61 kB / 0.8373 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1626, allocations: 0 / 0.8373 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/0.1627, allocations: 109.5 kB / 0.8374 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1628, allocations: 4 kB / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1628, allocations: 0 / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1628, allocations: 4 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.1628, allocations: 11.98 kB / 0.8374 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1628, allocations: 0 / 0.8374 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.1629, allocations: 7.938 kB / 0.8374 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1629, allocations: 4 kB / 0.8374 GB, free: 3.965 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.786e-05/0.163, allocations: 122.4 kB / 0.8375 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.163, allocations: 15.97 kB / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.1631, allocations: 8.062 kB / 0.8376 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1631, allocations: 7.938 kB / 0.8376 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1631, allocations: 0 / 0.8376 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1631, allocations: 3.938 kB / 0.8376 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.1635, allocations: 321.5 kB / 0.8379 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1635, allocations: 4 kB / 0.8379 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.1635, allocations: 0 / 0.8379 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1635, allocations: 4 kB / 0.8379 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1635, allocations: 3.938 kB / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1635, allocations: 4 kB / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1635, allocations: 0 / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1637, allocations: 187.4 kB / 0.8381 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-06/0.1637, allocations: 192 / 0.8381 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1637, allocations: 3.938 kB / 0.8381 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.1638, allocations: 15.92 kB / 0.8381 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1638, allocations: 11.92 kB / 0.8381 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.1639, allocations: 8.062 kB / 0.8381 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.1639, allocations: 87.27 kB / 0.8382 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1639, allocations: 0 / 0.8382 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002333/0.1641, allocations: 19.95 kB / 0.8382 GB, free: 3.07 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.000454/0.1646, allocations: 0.7102 MB / 0.8389 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1647, allocations: 52.09 kB / 0.839 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1647, allocations: 0 / 0.839 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.1648, allocations: 31.92 kB / 0.839 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1651, allocations: 10.52 kB / 0.839 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1664, allocations: 1.382 MB / 0.8403 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.1665, allocations: 71.41 kB / 0.8404 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.1665, allocations: 7.984 kB / 0.8404 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.1666, allocations: 19.44 kB / 0.8404 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.1666, allocations: 0 / 0.8404 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.1875, allocations: 2.019 MB / 0.8424 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.87, allocations: 7.094 kB / 0.8424 GB, free: 14.8 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.937073590001091] Failed to read output from testmodel.py, exit status != 0: 11.03295069502201 11.055488463 10.891303159 Calling exit ...