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.001262/0.001262, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001439/0.001439, allocations: 217 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002391/0.002391, allocations: 291.1 kB / 313.5 MB, free: 2.781 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.179/1.179, allocations: 180.6 MB / 0.5377 GB, free: 12.86 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.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.00275/0.00275, allocations: 102.4 kB / 0.7403 GB, free: 28.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1646, allocations: 95.38 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.00298/0.1676, allocations: 1.743 MB / 0.8352 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.1684, allocations: 0.5175 MB / 0.8357 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.1684, allocations: 4 kB / 0.8357 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.1688, allocations: 147.7 kB / 0.8358 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.1689, allocations: 59.73 kB / 0.8359 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1691, allocations: 71.67 kB / 0.836 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1693, allocations: 91.56 kB / 0.836 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.1693, allocations: 7.938 kB / 0.8361 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.1694, allocations: 39.84 kB / 0.8361 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.1695, allocations: 59.67 kB / 0.8361 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1695, allocations: 7.938 kB / 0.8362 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1697, allocations: 91.84 kB / 0.8362 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.1698, allocations: 55.8 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.1698, allocations: 63.56 kB / 0.8364 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1701, allocations: 199.1 kB / 0.8365 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1701, allocations: 0 / 0.8365 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1701, allocations: 0 / 0.8365 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1701, allocations: 0 / 0.8365 GB, free: 5.477 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.0005563/0.1707, allocations: 413 kB / 0.8369 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1707, allocations: 17.34 kB / 0.837 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.1707, allocations: 192 / 0.837 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.1708, allocations: 30.75 kB / 0.837 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.1708, allocations: 20.8 kB / 0.837 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1709, allocations: 161.7 kB / 0.8372 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1709, allocations: 384 / 0.8372 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.171, allocations: 4.375 kB / 0.8372 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1711, allocations: 61.8 kB / 0.8372 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1711, allocations: 0 / 0.8372 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1711, allocations: 4 kB / 0.8372 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1712, allocations: 3.984 kB / 0.8372 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.1713, allocations: 59.89 kB / 0.8373 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.1718, allocations: 307.9 kB / 0.8376 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.172, allocations: 62.55 kB / 0.8376 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.728e-05/0.1721, allocations: 36.89 kB / 0.8377 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1721, allocations: 11.94 kB / 0.8377 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1721, allocations: 30.56 kB / 0.8377 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1721, allocations: 3.938 kB / 0.8377 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003906/0.1725, allocations: 141.6 kB / 0.8379 GB, free: 4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1726, allocations: 51.41 kB / 0.8379 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1728, allocations: 257.9 kB / 0.8382 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1728, allocations: 25.7 kB / 0.8382 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.1729, allocations: 132.1 kB / 0.8383 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1729, allocations: 11.89 kB / 0.8383 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.173, allocations: 13.72 kB / 0.8383 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1731, allocations: 334.8 kB / 0.8386 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.1732, allocations: 32 kB / 0.8387 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.1733, allocations: 31.97 kB / 0.8387 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1735, allocations: 64.75 kB / 0.8388 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1735, allocations: 0 / 0.8388 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002314/0.1737, allocations: 109.6 kB / 0.8389 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1737, allocations: 8 kB / 0.8389 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1737, allocations: 7.922 kB / 0.8389 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1737, allocations: 0 / 0.8389 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.1738, allocations: 11.98 kB / 0.8389 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1738, allocations: 0 / 0.8389 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.1739, allocations: 7.984 kB / 0.8389 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1739, allocations: 0 / 0.8389 GB, free: 2.863 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.0001156/0.174, allocations: 142.4 kB / 0.839 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1741, allocations: 15.91 kB / 0.8391 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1743, allocations: 114.5 kB / 0.8392 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1743, allocations: 0 / 0.8392 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1743, allocations: 0 / 0.8392 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1743, allocations: 0 / 0.8392 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1745, allocations: 192.6 kB / 0.8394 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1745, allocations: 0 / 0.8394 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.1746, allocations: 16.02 kB / 0.8394 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1746, allocations: 0 / 0.8394 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1746, allocations: 0 / 0.8394 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1746, allocations: 0 / 0.8394 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1746, allocations: 0 / 0.8394 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.1749, allocations: 223.2 kB / 0.8396 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.1749, allocations: 15.86 kB / 0.8396 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1749, allocations: 0 / 0.8396 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.175, allocations: 4 kB / 0.8396 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1751, allocations: 3.984 kB / 0.8396 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1751, allocations: 4 kB / 0.8396 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001698/0.1752, allocations: 185.2 kB / 0.8398 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1752, allocations: 0 / 0.8398 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002668/0.1755, allocations: 43.92 kB / 0.8398 GB, free: 1.848 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.0006609/0.1762, allocations: 0.7669 MB / 0.8406 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1764, allocations: 67.89 kB / 0.8406 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1764, allocations: 4.094 kB / 0.8406 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.809e-05/0.1765, allocations: 31.97 kB / 0.8407 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1769, allocations: 42.53 kB / 0.8407 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.1777, allocations: 412.1 kB / 0.8411 GB, free: 480 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1781, allocations: 0.7314 MB / 0.8418 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.1781, allocations: 7.984 kB / 0.8418 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.1782, allocations: 55.42 kB / 0.8419 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1782, allocations: 0 / 0.8419 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.2037, allocations: 4.116 MB / 0.8459 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.91, allocations: 14.55 kB / 0.8459 GB, free: 11.72 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.943724034994375] Failed to read output from testmodel.py, exit status != 0: 11.069537820992991 11.084491013 10.911556244 Calling exit ...