Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.001521/0.001521, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001753/0.001753, allocations: 214.6 kB / 22.99 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.002469/0.002469, allocations: 282.4 kB / 313.5 MB, free: 2.598 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.171/1.171, allocations: 180.6 MB / 0.5377 GB, free: 14.64 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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [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.002839/0.002839, allocations: 103.1 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1472, allocations: 95.39 MB / 0.8339 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002988/0.1502, allocations: 1.691 MB / 0.8355 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007258/0.1509, allocations: 462.1 kB / 0.8359 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.151, allocations: 0 / 0.8359 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1514, allocations: 131.5 kB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.1514, allocations: 55.73 kB / 0.8361 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1517, allocations: 67.8 kB / 0.8362 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1518, allocations: 107.4 kB / 0.8363 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.1519, allocations: 11.92 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.1519, allocations: 31.84 kB / 0.8363 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.301e-05/0.152, allocations: 51.77 kB / 0.8364 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.152, allocations: 0 / 0.8364 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1522, allocations: 75.84 kB / 0.8365 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.1523, allocations: 55.81 kB / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.1523, allocations: 47.67 kB / 0.8366 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1526, allocations: 199.1 kB / 0.8367 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1526, allocations: 0 / 0.8367 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1526, allocations: 7.938 kB / 0.8368 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1526, allocations: 4 kB / 0.8368 GB, free: 4.812 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.0005809/0.1532, allocations: 413 kB / 0.8371 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1532, allocations: 9.938 kB / 0.8372 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1533, allocations: 20.8 kB / 0.8372 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1534, allocations: 161.6 kB / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1534, allocations: 4.359 kB / 0.8373 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1535, allocations: 8.375 kB / 0.8373 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1536, allocations: 58.23 kB / 0.8374 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1536, allocations: 7.938 kB / 0.8374 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1537, allocations: 0 / 0.8374 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1537, allocations: 0 / 0.8374 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.1539, allocations: 59.94 kB / 0.8375 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1543, allocations: 276.5 kB / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1544, allocations: 62.55 kB / 0.8378 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.1545, allocations: 36.84 kB / 0.8378 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.1546, allocations: 11.98 kB / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1546, allocations: 34.56 kB / 0.8379 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1546, allocations: 4 kB / 0.8379 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003838/0.155, allocations: 137.4 kB / 0.838 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.155, allocations: 51.41 kB / 0.8381 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1553, allocations: 253.9 kB / 0.8383 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1553, allocations: 29.83 kB / 0.8383 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1554, allocations: 132.1 kB / 0.8384 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1554, allocations: 15.88 kB / 0.8385 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1555, allocations: 13.72 kB / 0.8385 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1556, allocations: 330.8 kB / 0.8388 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.204e-05/0.1557, allocations: 31.97 kB / 0.8388 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.543e-05/0.1558, allocations: 35.97 kB / 0.8389 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.156, allocations: 64.88 kB / 0.8389 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.156, allocations: 0 / 0.8389 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002291/0.1562, allocations: 113.4 kB / 0.839 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1562, allocations: 4 kB / 0.839 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1562, allocations: 3.984 kB / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1562, allocations: 4 kB / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.1563, allocations: 7.984 kB / 0.839 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1563, allocations: 4.031 kB / 0.839 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.1564, allocations: 7.984 kB / 0.8391 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1564, allocations: 0 / 0.8391 GB, free: 2.281 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.0001018/0.1565, allocations: 134.5 kB / 0.8392 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1565, allocations: 19.84 kB / 0.8392 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.1568, allocations: 118.6 kB / 0.8393 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1568, allocations: 7.875 kB / 0.8393 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1568, allocations: 0 / 0.8393 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1568, allocations: 4.031 kB / 0.8393 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.157, allocations: 161.3 kB / 0.8395 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.157, allocations: 0 / 0.8395 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.157, allocations: 11.92 kB / 0.8395 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.157, allocations: 4 kB / 0.8395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.157, allocations: 0 / 0.8395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.157, allocations: 0 / 0.8395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.157, allocations: 0 / 0.8395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1573, allocations: 207.4 kB / 0.8397 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1573, allocations: 23.78 kB / 0.8397 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1574, allocations: 0 / 0.8397 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.1574, allocations: 4 kB / 0.8397 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1575, allocations: 3.984 kB / 0.8397 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1575, allocations: 0 / 0.8397 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001932/0.1577, allocations: 189.2 kB / 0.8399 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 3.938 kB / 0.8399 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000256/0.1579, allocations: 39.92 kB / 0.8399 GB, free: 1.305 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.0001811/0.1581, allocations: 139.1 kB / 0.8401 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1583, allocations: 59.95 kB / 0.8401 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1583, allocations: 0 / 0.8401 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.1584, allocations: 31.97 kB / 0.8402 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1589, allocations: 54.69 kB / 0.8402 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1594, allocations: 368.2 kB / 0.8406 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.1595, allocations: 118.8 kB / 0.8407 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1596, allocations: 15.44 kB / 0.8407 GB, free: 488 kB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1596, allocations: 0 / 0.8407 GB, free: 488 kB / 0.5762 GB Notification: Performance of Templates: time 0.003683/0.1633, allocations: 1.946 MB / 0.8426 GB, free: 14.55 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.003650470171124] Failed to read output from testmodel.py, exit status != 0: 0.17000273475423455 0.18473373 0.029251544 Calling exit ...