Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.001233/0.001233, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.001358/0.001358, allocations: 215.8 kB / 23 MB, free: 4.957 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002424/0.002424, allocations: 293.2 kB / 313.5 MB, free: 2.629 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.13/1.13, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") [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.002819/0.002819, allocations: 105.7 kB / 0.7407 GB, free: 27.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1579, allocations: 95.39 MB / 0.8339 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002916/0.1608, allocations: 1.71 MB / 0.8355 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1622, allocations: 0.9267 MB / 0.8364 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.1622, allocations: 0 / 0.8364 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1626, allocations: 135.4 kB / 0.8366 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.1627, allocations: 51.73 kB / 0.8366 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.163, allocations: 115.5 kB / 0.8367 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1631, allocations: 99.56 kB / 0.8368 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.1632, allocations: 15.88 kB / 0.8368 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.1632, allocations: 35.84 kB / 0.8369 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.1633, allocations: 55.75 kB / 0.8369 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1633, allocations: 0 / 0.8369 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.1636, allocations: 127.7 kB / 0.837 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1636, allocations: 51.81 kB / 0.8371 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1637, allocations: 51.67 kB / 0.8371 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.164, allocations: 239 kB / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.164, allocations: 0 / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.164, allocations: 0 / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.164, allocations: 0 / 0.8374 GB, free: 4.234 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005993/0.1646, allocations: 424.9 kB / 0.8378 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1647, allocations: 9.938 kB / 0.8378 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1647, allocations: 24.8 kB / 0.8378 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1649, allocations: 165.6 kB / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1649, allocations: 384 / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.1649, allocations: 384 / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1651, allocations: 65.78 kB / 0.838 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1651, allocations: 3.938 kB / 0.838 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1651, allocations: 4 kB / 0.838 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1651, allocations: 4 kB / 0.838 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.1653, allocations: 55.95 kB / 0.8381 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.1657, allocations: 276.6 kB / 0.8383 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1659, allocations: 58.48 kB / 0.8384 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.166, allocations: 36.89 kB / 0.8384 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.166, allocations: 15.98 kB / 0.8385 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.166, allocations: 38.5 kB / 0.8385 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.166, allocations: 4 kB / 0.8385 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.1664, allocations: 133.5 kB / 0.8386 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1665, allocations: 51.41 kB / 0.8387 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1667, allocations: 257.9 kB / 0.8389 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1667, allocations: 29.7 kB / 0.8389 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.1668, allocations: 132.1 kB / 0.8391 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1669, allocations: 16.08 kB / 0.8391 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.1669, allocations: 13.7 kB / 0.8391 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.167, allocations: 334.8 kB / 0.8394 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.123e-05/0.1671, allocations: 27.97 kB / 0.8394 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.1672, allocations: 31.92 kB / 0.8395 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1674, allocations: 64.81 kB / 0.8395 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1674, allocations: 4 kB / 0.8395 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002295/0.1676, allocations: 113.5 kB / 0.8396 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1676, allocations: 4 kB / 0.8397 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1676, allocations: 0 / 0.8397 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1676, allocations: 0 / 0.8397 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/0.1677, allocations: 11.98 kB / 0.8397 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1677, allocations: 0 / 0.8397 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.1678, allocations: 7.938 kB / 0.8397 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1678, allocations: 8.016 kB / 0.8397 GB, free: 1.684 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001132/0.1679, allocations: 142.4 kB / 0.8398 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.168, allocations: 19.86 kB / 0.8398 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.1682, allocations: 114.6 kB / 0.8399 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1682, allocations: 7.984 kB / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1682, allocations: 0 / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1682, allocations: 0 / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1684, allocations: 165.2 kB / 0.8401 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1684, allocations: 4.031 kB / 0.8401 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.1685, allocations: 11.98 kB / 0.8401 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1685, allocations: 0 / 0.8401 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1685, allocations: 0 / 0.8401 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1685, allocations: 4 kB / 0.8401 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1685, allocations: 3.984 kB / 0.8401 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1688, allocations: 211.2 kB / 0.8403 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.1688, allocations: 15.89 kB / 0.8403 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1688, allocations: 32 / 0.8403 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.1689, allocations: 8 kB / 0.8404 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.169, allocations: 3.984 kB / 0.8404 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.169, allocations: 8 kB / 0.8404 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001848/0.1691, allocations: 181.2 kB / 0.8405 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1691, allocations: 0 / 0.8405 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002837/0.1694, allocations: 59.86 kB / 0.8406 GB, free: 0.6797 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002144/0.1696, allocations: 147 kB / 0.8407 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1699, allocations: 63.95 kB / 0.8408 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1699, allocations: 3.938 kB / 0.8408 GB, free: 472 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.17, allocations: 31.97 kB / 0.8408 GB, free: 440 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.1704, allocations: 50.58 kB / 0.8409 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.171, allocations: 368.5 kB / 0.8412 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.1711, allocations: 122.7 kB / 0.8413 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1711, allocations: 11.44 kB / 0.8414 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.1711, allocations: 3.938 kB / 0.8414 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.00387/0.175, allocations: 2.061 MB / 0.8434 GB, free: 13.8 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.087377441115677] Failed to read output from testmodel.py, exit status != 0: 0.18193016108125448 0.19696459600000002 0.030031626000000002 Calling exit ...