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.001206/0.001206, 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.001361/0.001361, allocations: 217.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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.002545/0.002545, allocations: 287.6 kB / 313.5 MB, free: 2.582 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.189/1.189, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.002737/0.002737, allocations: 100.9 kB / 0.7402 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1653, allocations: 95.38 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002949/0.1683, allocations: 1.704 MB / 0.8351 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1698, allocations: 1.036 MB / 0.8361 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.1699, allocations: 0 / 0.8361 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.1703, allocations: 127.8 kB / 0.8362 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.1704, allocations: 59.67 kB / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.1708, allocations: 163.5 kB / 0.8364 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.171, allocations: 107.5 kB / 0.8365 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.1711, allocations: 7.938 kB / 0.8365 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.1711, allocations: 43.78 kB / 0.8366 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1713, allocations: 67.67 kB / 0.8366 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1713, allocations: 0 / 0.8366 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1716, allocations: 195.7 kB / 0.8368 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.565e-05/0.1717, allocations: 55.75 kB / 0.8369 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.1718, allocations: 51.67 kB / 0.8369 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.1722, allocations: 294.9 kB / 0.8372 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1722, allocations: 4 kB / 0.8372 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1722, allocations: 0 / 0.8372 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1722, allocations: 0 / 0.8372 GB, free: 4.438 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.0006477/0.1729, allocations: 440.7 kB / 0.8376 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1729, allocations: 9.344 kB / 0.8376 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.189e-05/0.1729, allocations: 192 / 0.8376 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.1729, allocations: 42.69 kB / 0.8377 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.173, allocations: 20.8 kB / 0.8377 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1732, allocations: 157.7 kB / 0.8378 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1732, allocations: 384 / 0.8378 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1732, allocations: 8.125 kB / 0.8378 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1734, allocations: 81.66 kB / 0.8379 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1734, allocations: 0 / 0.8379 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1734, allocations: 0 / 0.8379 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1734, allocations: 0 / 0.8379 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.1736, allocations: 95.92 kB / 0.838 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.1742, allocations: 347.8 kB / 0.8383 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1743, allocations: 98.53 kB / 0.8384 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1745, allocations: 52.89 kB / 0.8385 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.865e-05/0.1745, allocations: 31.98 kB / 0.8385 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1745, allocations: 34.56 kB / 0.8385 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1746, allocations: 0 / 0.8385 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004397/0.175, allocations: 197.5 kB / 0.8387 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.175, allocations: 55.44 kB / 0.8388 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1753, allocations: 257.9 kB / 0.839 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1753, allocations: 25.7 kB / 0.8391 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.1754, allocations: 140.1 kB / 0.8392 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.1754, allocations: 7.891 kB / 0.8392 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1755, allocations: 13.72 kB / 0.8392 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1756, allocations: 334.8 kB / 0.8395 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1757, allocations: 51.95 kB / 0.8396 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.1758, allocations: 47.97 kB / 0.8396 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.176, allocations: 100.8 kB / 0.8397 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.176, allocations: 0 / 0.8397 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002567/0.1763, allocations: 149.4 kB / 0.8399 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1763, allocations: 4 kB / 0.8399 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1763, allocations: 0 / 0.8399 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1763, allocations: 8.031 kB / 0.8399 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.1764, allocations: 15.92 kB / 0.8399 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1764, allocations: 0 / 0.8399 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.1765, allocations: 4 kB / 0.8399 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1765, allocations: 0 / 0.8399 GB, free: 1.469 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.0001194/0.1766, allocations: 142.4 kB / 0.84 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.1766, allocations: 19.86 kB / 0.8401 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.177, allocations: 174.5 kB / 0.8402 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.177, allocations: 0 / 0.8402 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.177, allocations: 4 kB / 0.8402 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.177, allocations: 0 / 0.8402 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1773, allocations: 212.6 kB / 0.8404 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1773, allocations: 0 / 0.8404 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.1773, allocations: 11.98 kB / 0.8404 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1773, allocations: 4.031 kB / 0.8404 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1773, allocations: 0 / 0.8404 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1773, allocations: 0 / 0.8404 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1773, allocations: 0 / 0.8404 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.1777, allocations: 259.3 kB / 0.8407 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.1777, allocations: 15.89 kB / 0.8407 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1777, allocations: 0 / 0.8407 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.1778, allocations: 4 kB / 0.8407 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1779, allocations: 7.922 kB / 0.8407 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1779, allocations: 4 kB / 0.8407 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001786/0.1781, allocations: 189.2 kB / 0.8409 GB, free: 376 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1781, allocations: 0 / 0.8409 GB, free: 376 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003268/0.1784, allocations: 75.75 kB / 0.841 GB, free: 300 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.0008965/0.1793, allocations: 0.8487 MB / 0.8418 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1796, allocations: 103.9 kB / 0.8419 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1796, allocations: 0 / 0.8419 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1797, allocations: 55.95 kB / 0.842 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.1802, allocations: 53.38 kB / 0.842 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.181, allocations: 458.5 kB / 0.8424 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.1812, allocations: 126.7 kB / 0.8426 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.1812, allocations: 4 kB / 0.8426 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.1813, allocations: 51.41 kB / 0.8426 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1813, allocations: 0 / 0.8426 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.2086, allocations: 4.936 MB / 0.8474 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.01, allocations: 6.641 kB / 0.8474 GB, free: 9.805 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 os._exit(0), Time elapsed: 15.045779839972965] Failed to read output from testmodel.py, exit status != 0: 11.171415796037763 11.187399301 11.012195607 Calling exit ...