Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.001252/0.001252, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001533/0.001533, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.977 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.002327/0.002327, allocations: 286.9 kB / 312.7 MB, free: 2.789 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.18/1.18, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",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.002865/0.002865, allocations: 107.4 kB / 0.7396 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1682, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003055/0.1712, allocations: 1.757 MB / 0.8344 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1729, allocations: 1.164 MB / 0.8356 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.1729, allocations: 0 / 0.8356 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.1734, allocations: 151.7 kB / 0.8357 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.615e-05/0.1735, allocations: 59.67 kB / 0.8358 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.174, allocations: 155.5 kB / 0.8359 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1741, allocations: 111.5 kB / 0.836 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.1741, allocations: 11.92 kB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.935e-05/0.1742, allocations: 43.78 kB / 0.8361 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1744, allocations: 59.75 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1744, allocations: 4 kB / 0.8361 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.1748, allocations: 239.6 kB / 0.8364 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.1749, allocations: 59.73 kB / 0.8364 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.175, allocations: 71.53 kB / 0.8365 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.1754, allocations: 302.9 kB / 0.8368 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1754, allocations: 4 kB / 0.8368 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1754, allocations: 0 / 0.8368 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1754, allocations: 0 / 0.8368 GB, free: 4.48 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.0006069/0.176, allocations: 440.7 kB / 0.8372 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.176, allocations: 17.28 kB / 0.8372 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.1761, allocations: 30.75 kB / 0.8373 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1761, allocations: 20.8 kB / 0.8373 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1763, allocations: 161.7 kB / 0.8374 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.1763, allocations: 384 / 0.8374 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.1763, allocations: 4.375 kB / 0.8374 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1765, allocations: 81.59 kB / 0.8375 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1765, allocations: 0 / 0.8375 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1765, allocations: 11.98 kB / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1765, allocations: 0 / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1767, allocations: 91.94 kB / 0.8376 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.1772, allocations: 351.8 kB / 0.8379 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1775, allocations: 98.53 kB / 0.838 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1776, allocations: 48.89 kB / 0.8381 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/0.1776, allocations: 31.94 kB / 0.8381 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1777, allocations: 34.55 kB / 0.8381 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1777, allocations: 0 / 0.8381 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000461/0.1781, allocations: 193.5 kB / 0.8383 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1782, allocations: 55.34 kB / 0.8384 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.1785, allocations: 257.9 kB / 0.8386 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1785, allocations: 25.7 kB / 0.8387 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1786, allocations: 140.1 kB / 0.8388 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1786, allocations: 7.891 kB / 0.8388 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1787, allocations: 13.72 kB / 0.8388 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1789, allocations: 334.8 kB / 0.8391 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.179, allocations: 52 kB / 0.8392 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1791, allocations: 43.97 kB / 0.8392 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1793, allocations: 100.8 kB / 0.8393 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1793, allocations: 0 / 0.8393 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000272/0.1796, allocations: 153.5 kB / 0.8395 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1796, allocations: 8 kB / 0.8395 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1796, allocations: 4 kB / 0.8395 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1796, allocations: 0 / 0.8395 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.1797, allocations: 11.98 kB / 0.8395 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1797, allocations: 0 / 0.8395 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.1797, allocations: 7.984 kB / 0.8395 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1797, allocations: 0 / 0.8395 GB, free: 1.512 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.0001179/0.1799, allocations: 142.5 kB / 0.8396 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1799, allocations: 19.86 kB / 0.8396 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.1802, allocations: 170.5 kB / 0.8398 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1802, allocations: 0 / 0.8398 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1803, allocations: 0 / 0.8398 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1803, allocations: 3.938 kB / 0.8398 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1805, allocations: 212.6 kB / 0.84 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1805, allocations: 0 / 0.84 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.1806, allocations: 16 kB / 0.84 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1806, allocations: 0 / 0.84 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1806, allocations: 4 kB / 0.84 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1806, allocations: 3.984 kB / 0.84 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1806, allocations: 3.984 kB / 0.84 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.1809, allocations: 251.3 kB / 0.8403 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.181, allocations: 19.84 kB / 0.8403 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.181, allocations: 0 / 0.8403 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.1811, allocations: 7.984 kB / 0.8403 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1811, allocations: 7.938 kB / 0.8403 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1811, allocations: 0 / 0.8403 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001935/0.1813, allocations: 189.2 kB / 0.8405 GB, free: 416 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1813, allocations: 4 kB / 0.8405 GB, free: 412 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003261/0.1816, allocations: 79.69 kB / 0.8406 GB, free: 332 kB / 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 (3): * Single equations (assignments): 3 * 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.0009825/0.1826, allocations: 0.8449 MB / 0.8414 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1829, allocations: 99.88 kB / 0.8415 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1829, allocations: 64 / 0.8415 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.183, allocations: 59.95 kB / 0.8416 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1835, allocations: 50.97 kB / 0.8416 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.1843, allocations: 459.9 kB / 0.842 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1847, allocations: 0.7378 MB / 0.8428 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.1847, allocations: 7.984 kB / 0.8428 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.1848, allocations: 47.42 kB / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1848, allocations: 4 kB / 0.8428 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.223, allocations: 4.706 MB / 0.8474 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.23, allocations: 16.38 kB / 0.8474 GB, free: 9.402 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.179520114092156] Failed to read output from testmodel.py, exit status != 0: 11.342265471117571 11.3666572 11.186839567 Calling exit ...