Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.001274/0.001274, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001409/0.001409, allocations: 223.7 kB / 23.05 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 8 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.002383/0.002383, allocations: 290.7 kB / 313.5 MB, free: 2.805 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.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.002728/0.002728, allocations: 105.7 kB / 0.7403 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1575, allocations: 95.38 MB / 0.8335 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002946/0.1604, allocations: 1.755 MB / 0.8352 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1618, allocations: 1.044 MB / 0.8362 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.1619, allocations: 0 / 0.8362 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.1623, allocations: 151.7 kB / 0.8364 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.1624, allocations: 55.73 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1627, allocations: 107.6 kB / 0.8365 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1628, allocations: 103.5 kB / 0.8366 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.1628, allocations: 11.92 kB / 0.8366 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.1629, allocations: 43.78 kB / 0.8367 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.163, allocations: 43.83 kB / 0.8367 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.163, allocations: 4 kB / 0.8367 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.1633, allocations: 167.7 kB / 0.8369 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.1634, allocations: 59.73 kB / 0.8369 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.1634, allocations: 63.56 kB / 0.837 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1638, allocations: 243 kB / 0.8372 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1638, allocations: 3.984 kB / 0.8372 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1638, allocations: 0 / 0.8372 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1638, allocations: 4 kB / 0.8372 GB, free: 4.793 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.0005594/0.1643, allocations: 416.9 kB / 0.8376 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1644, allocations: 13.34 kB / 0.8376 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/0.1644, allocations: 192 / 0.8376 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.1644, allocations: 34.75 kB / 0.8377 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1644, allocations: 24.8 kB / 0.8377 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1646, allocations: 157.7 kB / 0.8379 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1646, allocations: 4.375 kB / 0.8379 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1646, allocations: 4.125 kB / 0.8379 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1648, allocations: 61.61 kB / 0.8379 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1648, allocations: 0 / 0.8379 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1648, allocations: 4 kB / 0.8379 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1648, allocations: 0 / 0.8379 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.165, allocations: 67.89 kB / 0.838 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1654, allocations: 303.8 kB / 0.8383 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1656, allocations: 66.48 kB / 0.8383 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1657, allocations: 36.91 kB / 0.8384 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.1657, allocations: 19.94 kB / 0.8384 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1658, allocations: 34.56 kB / 0.8384 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.976e-06/0.1658, allocations: 3.984 kB / 0.8384 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004073/0.1662, allocations: 129.5 kB / 0.8386 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1662, allocations: 55.41 kB / 0.8386 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1665, allocations: 262 kB / 0.8389 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1665, allocations: 25.7 kB / 0.8389 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.1666, allocations: 136.1 kB / 0.839 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.1666, allocations: 11.88 kB / 0.839 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.1666, allocations: 13.72 kB / 0.839 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1667, allocations: 334.8 kB / 0.8394 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.1668, allocations: 31.97 kB / 0.8394 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.1669, allocations: 31.97 kB / 0.8394 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1671, allocations: 64.81 kB / 0.8395 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1671, allocations: 0 / 0.8395 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000237/0.1673, allocations: 105.5 kB / 0.8396 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1674, allocations: 6.031 kB / 0.8396 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1674, allocations: 4.094 kB / 0.8396 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1674, allocations: 0 / 0.8396 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.1675, allocations: 15.92 kB / 0.8396 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1675, allocations: 0 / 0.8396 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.1675, allocations: 11.92 kB / 0.8396 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1675, allocations: 0 / 0.8396 GB, free: 2.16 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.0001187/0.1677, allocations: 138.4 kB / 0.8397 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1677, allocations: 23.84 kB / 0.8398 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.168, allocations: 110.6 kB / 0.8399 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.168, allocations: 4 kB / 0.8399 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.168, allocations: 0 / 0.8399 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.168, allocations: 0 / 0.8399 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1682, allocations: 192.6 kB / 0.8401 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1682, allocations: 0 / 0.8401 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.1682, allocations: 11.98 kB / 0.8401 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1682, allocations: 0 / 0.8401 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1683, allocations: 11.97 kB / 0.8401 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1683, allocations: 3.938 kB / 0.8401 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1683, allocations: 0 / 0.8401 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1685, allocations: 207.3 kB / 0.8403 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.1686, allocations: 11.91 kB / 0.8403 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1686, allocations: 3.938 kB / 0.8403 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.1687, allocations: 8.031 kB / 0.8403 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1687, allocations: 7.984 kB / 0.8403 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1687, allocations: 0 / 0.8403 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001795/0.1689, allocations: 193.2 kB / 0.8405 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1689, allocations: 0 / 0.8405 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002875/0.1692, allocations: 47.88 kB / 0.8405 GB, free: 1.129 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.0007326/0.1699, allocations: 0.7901 MB / 0.8413 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1701, allocations: 59.95 kB / 0.8414 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1701, allocations: 0 / 0.8414 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1702, allocations: 36.06 kB / 0.8414 GB, free: 224 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1707, allocations: 49.03 kB / 0.8415 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.1714, allocations: 428 kB / 0.8419 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1718, allocations: 0.7353 MB / 0.8426 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.1718, allocations: 7.984 kB / 0.8426 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.1719, allocations: 43.42 kB / 0.8426 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1719, allocations: 0 / 0.8426 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1969, allocations: 4.283 MB / 0.8468 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.91, allocations: 6.625 kB / 0.8468 GB, free: 10.81 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.90859136095969] Failed to read output from testmodel.py, exit status != 0: 11.071325165976305 11.088503186 10.921413868 Calling exit ...