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.001261/0.001261, allocations: 101.8 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.00139/0.00139, 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002595/0.002595, allocations: 294.1 kB / 313.5 MB, free: 2.812 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.244/1.244, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002766/0.002766, allocations: 94.55 kB / 0.7403 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1607, allocations: 95.39 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003113/0.1638, allocations: 1.745 MB / 0.8352 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1654, allocations: 1.164 MB / 0.8363 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.1655, allocations: 0 / 0.8363 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.1659, allocations: 159.7 kB / 0.8365 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.166, allocations: 59.67 kB / 0.8365 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.1664, allocations: 159.5 kB / 0.8367 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1665, allocations: 107.5 kB / 0.8368 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.1666, allocations: 11.92 kB / 0.8368 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.1667, allocations: 39.84 kB / 0.8368 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.1668, allocations: 59.69 kB / 0.8369 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1668, allocations: 0 / 0.8369 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.1672, allocations: 251.5 kB / 0.8371 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.1672, allocations: 55.8 kB / 0.8372 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.1673, allocations: 67.56 kB / 0.8373 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.1677, allocations: 310.9 kB / 0.8376 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1677, allocations: 0 / 0.8376 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1677, allocations: 3.938 kB / 0.8376 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1677, allocations: 0 / 0.8376 GB, free: 4.449 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.0005919/0.1683, allocations: 436.8 kB / 0.838 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1684, allocations: 13.34 kB / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.302e-05/0.1684, allocations: 192 / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.1684, allocations: 38.75 kB / 0.838 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1684, allocations: 20.8 kB / 0.838 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1686, allocations: 161.7 kB / 0.8382 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1686, allocations: 384 / 0.8382 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1686, allocations: 8.125 kB / 0.8382 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1688, allocations: 77.66 kB / 0.8383 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.1688, allocations: 0 / 0.8383 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1688, allocations: 4 kB / 0.8383 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1688, allocations: 0 / 0.8383 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.1691, allocations: 103.9 kB / 0.8384 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1696, allocations: 347.9 kB / 0.8387 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1698, allocations: 94.53 kB / 0.8388 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1699, allocations: 52.89 kB / 0.8389 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.17, allocations: 31.94 kB / 0.8389 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.17, allocations: 30.56 kB / 0.8389 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.17, allocations: 0 / 0.8389 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004622/0.1705, allocations: 193.4 kB / 0.8391 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1705, allocations: 55.53 kB / 0.8391 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1708, allocations: 257.9 kB / 0.8394 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1708, allocations: 25.7 kB / 0.8394 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1709, allocations: 144 kB / 0.8396 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.1709, allocations: 7.891 kB / 0.8396 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1709, allocations: 13.72 kB / 0.8396 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1711, allocations: 338.7 kB / 0.8399 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1712, allocations: 47.97 kB / 0.8399 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1713, allocations: 51.97 kB / 0.84 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.1715, allocations: 100.7 kB / 0.8401 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1715, allocations: 0 / 0.8401 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002789/0.1718, allocations: 145.5 kB / 0.8402 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1718, allocations: 12.09 kB / 0.8402 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1718, allocations: 0 / 0.8402 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1718, allocations: 0 / 0.8402 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.1719, allocations: 11.98 kB / 0.8403 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1719, allocations: 0 / 0.8403 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.172, allocations: 4 kB / 0.8403 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.172, allocations: 0 / 0.8403 GB, free: 1.484 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.0001234/0.1721, allocations: 142.4 kB / 0.8404 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.1721, allocations: 19.86 kB / 0.8404 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.1725, allocations: 174.5 kB / 0.8406 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1725, allocations: 0 / 0.8406 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1725, allocations: 0 / 0.8406 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1725, allocations: 0 / 0.8406 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.1728, allocations: 212.6 kB / 0.8408 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1728, allocations: 0 / 0.8408 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.1728, allocations: 11.98 kB / 0.8408 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1728, allocations: 4 kB / 0.8408 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1728, allocations: 4 kB / 0.8408 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1728, allocations: 4 kB / 0.8408 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1728, allocations: 0 / 0.8408 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.1732, allocations: 259.2 kB / 0.8411 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.1732, allocations: 11.91 kB / 0.8411 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1732, allocations: 0 / 0.8411 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.1733, allocations: 8 kB / 0.8411 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1733, allocations: 3.984 kB / 0.8411 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1734, allocations: 8 kB / 0.8411 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001869/0.1735, allocations: 189.2 kB / 0.8413 GB, free: 388 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1735, allocations: 3.938 kB / 0.8413 GB, free: 384 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003099/0.1738, allocations: 75.7 kB / 0.8413 GB, free: 308 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.0008405/0.1747, allocations: 0.8488 MB / 0.8422 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.175, allocations: 99.88 kB / 0.8423 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.175, allocations: 0 / 0.8423 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1751, allocations: 55.95 kB / 0.8423 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.1756, allocations: 50.38 kB / 0.8424 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.1764, allocations: 459.9 kB / 0.8428 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1768, allocations: 0.7392 MB / 0.8435 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.1768, allocations: 8 kB / 0.8435 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.1769, allocations: 51.41 kB / 0.8436 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1769, allocations: 0 / 0.8436 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.2029, allocations: 4.747 MB / 0.8482 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.95, allocations: 11.88 kB / 0.8482 GB, free: 9.355 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.081854276999366] Failed to read output from testmodel.py, exit status != 0: 11.1098757039872 11.125705783 10.954925663 Calling exit ...