Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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: 97.31 kB / 19.73 MB, free: 2.117 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.001417/0.001417, allocations: 213.7 kB / 23.03 MB, free: 4.922 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002499/0.002499, allocations: 294.6 kB / 313.5 MB, free: 2.688 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.198/1.198, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.002752/0.002752, allocations: 101.8 kB / 0.7402 GB, free: 28.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1613, allocations: 95.39 MB / 0.8334 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003448/0.1648, allocations: 1.706 MB / 0.8351 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007755/0.1656, allocations: 414.3 kB / 0.8355 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.1656, allocations: 8 kB / 0.8355 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.1661, allocations: 115.5 kB / 0.8356 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.1661, allocations: 63.66 kB / 0.8356 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1664, allocations: 59.81 kB / 0.8357 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1666, allocations: 99.5 kB / 0.8358 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.1666, allocations: 12.25 kB / 0.8358 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.1667, allocations: 31.86 kB / 0.8358 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1668, allocations: 59.69 kB / 0.8359 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1668, allocations: 0 / 0.8359 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1669, allocations: 75.86 kB / 0.836 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.167, allocations: 59.8 kB / 0.836 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.1671, allocations: 47.69 kB / 0.8361 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1674, allocations: 195.1 kB / 0.8362 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1674, allocations: 4 kB / 0.8362 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1674, allocations: 0 / 0.8362 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1674, allocations: 0 / 0.8362 GB, free: 5.504 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.0006154/0.168, allocations: 405.7 kB / 0.8366 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.168, allocations: 9.938 kB / 0.8366 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.234e-05/0.1681, allocations: 192 / 0.8366 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.1681, allocations: 42.67 kB / 0.8367 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1681, allocations: 24.8 kB / 0.8367 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1683, allocations: 161.7 kB / 0.8369 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1683, allocations: 4.312 kB / 0.8369 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1683, allocations: 384 / 0.8369 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1685, allocations: 57.8 kB / 0.8369 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1685, allocations: 0 / 0.8369 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1685, allocations: 0 / 0.8369 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1685, allocations: 0 / 0.8369 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.1687, allocations: 39.95 kB / 0.837 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.1691, allocations: 287.8 kB / 0.8372 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1693, allocations: 50.53 kB / 0.8373 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1694, allocations: 24.91 kB / 0.8373 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.1694, allocations: 7.984 kB / 0.8373 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1694, allocations: 30.56 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1694, allocations: 0 / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003765/0.1698, allocations: 117.4 kB / 0.8375 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1699, allocations: 51.41 kB / 0.8375 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1701, allocations: 257.9 kB / 0.8378 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1701, allocations: 25.7 kB / 0.8378 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.1702, allocations: 132.1 kB / 0.8379 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.1702, allocations: 7.938 kB / 0.8379 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1703, allocations: 13.72 kB / 0.8379 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1704, allocations: 334.8 kB / 0.8382 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.1705, allocations: 24.09 kB / 0.8383 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.1706, allocations: 19.98 kB / 0.8383 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1707, allocations: 44.81 kB / 0.8383 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1707, allocations: 0 / 0.8383 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002159/0.1709, allocations: 93.56 kB / 0.8384 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.171, allocations: 8.031 kB / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.171, allocations: 4 kB / 0.8384 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.171, allocations: 4 kB / 0.8384 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.1711, allocations: 7.984 kB / 0.8384 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1711, allocations: 0 / 0.8384 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.1711, allocations: 11.89 kB / 0.8384 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1711, allocations: 4 kB / 0.8385 GB, free: 3.051 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.0001136/0.1713, allocations: 138.4 kB / 0.8386 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1713, allocations: 15.91 kB / 0.8386 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1715, allocations: 102.5 kB / 0.8387 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1715, allocations: 3.938 kB / 0.8387 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1715, allocations: 4 kB / 0.8387 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1716, allocations: 0 / 0.8387 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1718, allocations: 176.6 kB / 0.8389 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1718, allocations: 0 / 0.8389 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1718, allocations: 11.98 kB / 0.8389 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1718, allocations: 0 / 0.8389 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1718, allocations: 4.031 kB / 0.8389 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1718, allocations: 0 / 0.8389 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1718, allocations: 0 / 0.8389 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1721, allocations: 187.3 kB / 0.8391 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.1721, allocations: 19.86 kB / 0.8391 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1721, allocations: 0 / 0.8391 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.1722, allocations: 7.984 kB / 0.8391 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1723, allocations: 7.938 kB / 0.8391 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1723, allocations: 4.031 kB / 0.8391 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001865/0.1725, allocations: 189.2 kB / 0.8393 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1725, allocations: 0 / 0.8393 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000265/0.1727, allocations: 35.94 kB / 0.8393 GB, free: 2.086 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.000659/0.1734, allocations: 0.7396 MB / 0.84 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1736, allocations: 44 kB / 0.8401 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1736, allocations: 3.938 kB / 0.8401 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.1737, allocations: 27.97 kB / 0.8401 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.1741, allocations: 46.83 kB / 0.8402 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.1749, allocations: 400.2 kB / 0.8405 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.1751, allocations: 121.1 kB / 0.8407 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.1751, allocations: 4 kB / 0.8407 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.1752, allocations: 51.36 kB / 0.8407 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.1752, allocations: 4 kB / 0.8407 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.2003, allocations: 4.287 MB / 0.8449 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.08, allocations: 4.062 kB / 0.8449 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.184682370978408] Failed to read output from testmodel.py, exit status != 0: 11.232669017044827 11.254137006 11.08279354 Calling exit ...