Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.0007586/0.0007586, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008476/0.0008476, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8533/0.8533, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 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.001528/0.001528, allocations: 230.5 kB / 259.4 MB, free: 13.02 MB / 250.7 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.658/0.658, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.271e-05/6.417e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002299/0.002363, allocations: 1.712 MB / 0.6479 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2618/0.2641, allocations: 410.2 kB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.2642, allocations: 1.5 kB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.2645, allocations: 133.6 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.2646, allocations: 55.59 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.2648, allocations: 62.7 kB / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.2649, allocations: 103.7 kB / 0.6487 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.265, allocations: 6.344 kB / 0.6487 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.2651, allocations: 42.41 kB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.2651, allocations: 48.05 kB / 0.6488 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2652, allocations: 3.375 kB / 0.6488 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.2653, allocations: 80.3 kB / 0.6488 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.405e-05/0.2654, allocations: 57.36 kB / 0.6489 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.2654, allocations: 36.61 kB / 0.6489 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2657, allocations: 183.8 kB / 0.6491 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2657, allocations: 2.375 kB / 0.6491 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2657, allocations: 0 / 0.6491 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2657, allocations: 0.5938 kB / 0.6491 GB, free: 55.73 MB / 0.5573 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.000437/0.2661, allocations: 405.7 kB / 0.6495 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2662, allocations: 12.61 kB / 0.6495 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.2662, allocations: 35.03 kB / 0.6495 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.2662, allocations: 20.53 kB / 0.6496 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.2663, allocations: 168 kB / 0.6497 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2663, allocations: 2.531 kB / 0.6497 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.2663, allocations: 2.062 kB / 0.6497 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.2665, allocations: 56.81 kB / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2665, allocations: 0.8438 kB / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.2665, allocations: 384 / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2665, allocations: 6.969 kB / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.2666, allocations: 39.05 kB / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.267, allocations: 274.3 kB / 0.6501 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.2671, allocations: 48.03 kB / 0.6501 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.2671, allocations: 28.06 kB / 0.6502 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.2672, allocations: 11.27 kB / 0.6502 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.2672, allocations: 32.02 kB / 0.6502 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2672, allocations: 0 / 0.6502 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002587/0.2674, allocations: 116.4 kB / 0.6503 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.2675, allocations: 54.81 kB / 0.6504 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.2676, allocations: 257.1 kB / 0.6506 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.2676, allocations: 25.7 kB / 0.6506 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.2677, allocations: 138.1 kB / 0.6508 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2677, allocations: 10.33 kB / 0.6508 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.2677, allocations: 14 kB / 0.6508 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.2678, allocations: 332.6 kB / 0.6511 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.2678, allocations: 22.56 kB / 0.6511 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.2679, allocations: 26.42 kB / 0.6512 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.268, allocations: 44.38 kB / 0.6512 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.268, allocations: 1.781 kB / 0.6512 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.2681, allocations: 98.69 kB / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2681, allocations: 6.031 kB / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2681, allocations: 3 kB / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2681, allocations: 0 / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.2682, allocations: 9.156 kB / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2682, allocations: 0 / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.2682, allocations: 8.578 kB / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2683, allocations: 2.562 kB / 0.6513 GB, free: 54.12 MB / 0.5573 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 6.817e-05/0.2683, allocations: 135.4 kB / 0.6515 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.2683, allocations: 19.53 kB / 0.6515 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.2685, allocations: 99.22 kB / 0.6516 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2685, allocations: 1.844 kB / 0.6516 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2685, allocations: 0 / 0.6516 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2685, allocations: 3.891 kB / 0.6516 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2687, allocations: 173.6 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2687, allocations: 3.938 kB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.2687, allocations: 13.03 kB / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2687, allocations: 5.812 kB / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2687, allocations: 0 / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2687, allocations: 0 / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2687, allocations: 0 / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.2689, allocations: 187 kB / 0.6519 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.2689, allocations: 19.55 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2689, allocations: 2.094 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.73e-05/0.2689, allocations: 6.844 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.269, allocations: 10.36 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.269, allocations: 2.062 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001027/0.2691, allocations: 187.6 kB / 0.6522 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2691, allocations: 2.625 kB / 0.6522 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002126/0.2693, allocations: 34.17 kB / 0.6522 GB, free: 53.57 MB / 0.5573 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.0003789/0.2697, allocations: 0.7421 MB / 0.6529 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.2698, allocations: 46.97 kB / 0.653 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2698, allocations: 0.5938 kB / 0.653 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.877e-05/0.2699, allocations: 28.39 kB / 0.653 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2703, allocations: 48.34 kB / 0.653 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.2709, allocations: 380.5 kB / 0.6534 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/0.2709, allocations: 127.9 kB / 0.6535 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.271, allocations: 10.94 kB / 0.6535 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.271, allocations: 46.66 kB / 0.6536 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.271, allocations: 0 / 0.6536 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.2886, allocations: 4.765 MB / 0.6582 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.37/6.658, allocations: 5.094 kB / 0.6582 GB, free: 51.55 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.277320796623826] Failed to read output from testmodel.py, exit status != 0: 6.736197472549975 6.744302228 6.476877206 Calling exit ...