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.001271/0.001271, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.001354/0.001354, allocations: 156.6 kB / 23.01 MB, free: 4.941 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.374/1.374, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] 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.002415/0.002415, allocations: 244.8 kB / 260 MB, free: 440 kB / 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 0.884/0.884, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [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.00294/0.00294, allocations: 91.86 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4266, allocations: 95.35 MB / 0.7404 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003002/0.4296, allocations: 1.702 MB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.4312, allocations: 1.039 MB / 0.7431 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.4313, allocations: 1 kB / 0.7431 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.4318, allocations: 131.5 kB / 0.7432 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.432, allocations: 53.8 kB / 0.7433 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.4325, allocations: 167.9 kB / 0.7435 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.4326, allocations: 113.2 kB / 0.7436 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.4327, allocations: 4.203 kB / 0.7436 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.4328, allocations: 40.23 kB / 0.7436 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.4329, allocations: 60.97 kB / 0.7437 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4329, allocations: 3.438 kB / 0.7437 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.4332, allocations: 184.8 kB / 0.7438 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.4333, allocations: 55.19 kB / 0.7439 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.4334, allocations: 52.83 kB / 0.7439 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.4338, allocations: 296 kB / 0.7442 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4338, allocations: 3.938 kB / 0.7442 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4338, allocations: 4 kB / 0.7442 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4338, allocations: 4.688 kB / 0.7442 GB, free: 15.17 MB / 0.5919 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.0005767/0.4344, allocations: 433.4 kB / 0.7447 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4344, allocations: 11.09 kB / 0.7447 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.4345, allocations: 21.33 kB / 0.7447 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4346, allocations: 166.2 kB / 0.7448 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4346, allocations: 384 / 0.7448 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4346, allocations: 5.906 kB / 0.7448 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.4348, allocations: 85.11 kB / 0.7449 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4349, allocations: 4 kB / 0.7449 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4349, allocations: 0.8438 kB / 0.7449 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4349, allocations: 0 / 0.7449 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.4351, allocations: 97.81 kB / 0.745 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.4355, allocations: 316.2 kB / 0.7453 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.4357, allocations: 101.9 kB / 0.7454 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4358, allocations: 57.02 kB / 0.7455 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.4359, allocations: 25.89 kB / 0.7455 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.4359, allocations: 36.53 kB / 0.7455 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4359, allocations: 0 / 0.7455 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0004418/0.4364, allocations: 192.1 kB / 0.7457 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.4364, allocations: 55.41 kB / 0.7458 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.4366, allocations: 255 kB / 0.746 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.4366, allocations: 29.83 kB / 0.746 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.4367, allocations: 138.6 kB / 0.7462 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.4367, allocations: 3.953 kB / 0.7462 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.4367, allocations: 18.58 kB / 0.7462 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.4368, allocations: 330.7 kB / 0.7465 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4369, allocations: 45.75 kB / 0.7466 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.437, allocations: 48.91 kB / 0.7466 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.4372, allocations: 105.4 kB / 0.7467 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4372, allocations: 3.938 kB / 0.7467 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002558/0.4375, allocations: 153.2 kB / 0.7469 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4375, allocations: 5.25 kB / 0.7469 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4375, allocations: 0 / 0.7469 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4375, allocations: 0 / 0.7469 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.4376, allocations: 14.06 kB / 0.7469 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4376, allocations: 5.406 kB / 0.7469 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.4377, allocations: 6.312 kB / 0.7469 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.4377, allocations: 1.828 kB / 0.7469 GB, free: 13.34 MB / 0.5919 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 7.922e-05/0.4378, allocations: 138.3 kB / 0.747 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.4378, allocations: 20.8 kB / 0.747 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.4381, allocations: 168.5 kB / 0.7472 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4381, allocations: 0.6094 kB / 0.7472 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4381, allocations: 5.188 kB / 0.7472 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4381, allocations: 4.562 kB / 0.7472 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.4383, allocations: 185.5 kB / 0.7474 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4383, allocations: 1.312 kB / 0.7474 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.4384, allocations: 10.48 kB / 0.7474 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4384, allocations: 1.938 kB / 0.7474 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4384, allocations: 4 kB / 0.7474 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4384, allocations: 1.375 kB / 0.7474 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4384, allocations: 0.8438 kB / 0.7474 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.4387, allocations: 256.2 kB / 0.7477 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.4387, allocations: 12.5 kB / 0.7477 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.4388, allocations: 1.984 kB / 0.7477 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.4389, allocations: 6.438 kB / 0.7477 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4389, allocations: 2.297 kB / 0.7477 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.4389, allocations: 2.828 kB / 0.7477 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001532/0.4391, allocations: 189.8 kB / 0.7479 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4391, allocations: 0 / 0.7479 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003505/0.4394, allocations: 77.25 kB / 0.7479 GB, free: 12.68 MB / 0.5919 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.0002546/0.4397, allocations: 172.6 kB / 0.7481 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.4399, allocations: 105.7 kB / 0.7482 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4399, allocations: 5.312 kB / 0.7482 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4401, allocations: 52.33 kB / 0.7483 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.4405, allocations: 59.45 kB / 0.7483 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.441, allocations: 359.5 kB / 0.7487 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.4412, allocations: 125.8 kB / 0.7488 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.4412, allocations: 13.97 kB / 0.7488 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.4412, allocations: 13.38 kB / 0.7488 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.4412, allocations: 0 / 0.7488 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.005869/0.4471, allocations: 2.429 MB / 0.7512 GB, free: 11.95 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.655056587071158] Failed to read output from testmodel.py, exit status != 0: 0.4547912529669702 0.465630729 0.029406344 Calling exit ...