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.0007343/0.0007343, 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.001235/0.001235, 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.8627/0.8627, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001352/0.001352, allocations: 240 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.6595/0.6595, 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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 3.984 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.218e-05, allocations: 12.83 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002002/0.002025, allocations: 1.71 MB / 0.648 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.242/0.2441, allocations: 1.015 MB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.2441, allocations: 0 / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.2445, allocations: 134 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.2446, allocations: 55.88 kB / 0.6491 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.245, allocations: 165.5 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2451, allocations: 113.9 kB / 0.6494 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.2452, allocations: 5.297 kB / 0.6494 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.2452, allocations: 51.44 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.2453, allocations: 53.94 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.2454, allocations: 2.25 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.2456, allocations: 195.8 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.2457, allocations: 63.88 kB / 0.6497 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.2458, allocations: 33.11 kB / 0.6498 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.2461, allocations: 309.9 kB / 0.6501 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2461, allocations: 0 / 0.6501 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2461, allocations: 0.8438 kB / 0.6501 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2462, allocations: 0 / 0.6501 GB, free: 55.63 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.0004937/0.2466, allocations: 441.8 kB / 0.6505 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2467, allocations: 12.09 kB / 0.6505 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.2467, allocations: 37.53 kB / 0.6505 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.2468, allocations: 20.27 kB / 0.6506 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.572e-05/0.2469, allocations: 160.2 kB / 0.6507 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2469, allocations: 384 / 0.6507 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.2469, allocations: 2.031 kB / 0.6507 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.247, allocations: 82.16 kB / 0.6508 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2471, allocations: 0.8438 kB / 0.6508 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2471, allocations: 5.594 kB / 0.6508 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2471, allocations: 6.703 kB / 0.6508 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.2472, allocations: 97.42 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.2476, allocations: 344.6 kB / 0.6512 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2478, allocations: 106.2 kB / 0.6513 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.2478, allocations: 57.27 kB / 0.6514 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.2479, allocations: 25.28 kB / 0.6514 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2479, allocations: 33.64 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2479, allocations: 0 / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0003248/0.2482, allocations: 193.2 kB / 0.6516 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.2482, allocations: 52.88 kB / 0.6517 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2484, allocations: 257.5 kB / 0.6519 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.2484, allocations: 27.05 kB / 0.6519 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.2485, allocations: 138.5 kB / 0.6521 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2485, allocations: 10.17 kB / 0.6521 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.2485, allocations: 13.92 kB / 0.6521 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.2486, allocations: 331.5 kB / 0.6524 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.2486, allocations: 51.11 kB / 0.6525 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.2487, allocations: 48.05 kB / 0.6525 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2488, allocations: 99 kB / 0.6526 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2488, allocations: 0.5938 kB / 0.6526 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001532/0.249, allocations: 155.5 kB / 0.6528 GB, free: 54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.249, allocations: 5.5 kB / 0.6528 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.249, allocations: 2.188 kB / 0.6528 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.249, allocations: 0 / 0.6528 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.2491, allocations: 10.75 kB / 0.6528 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2491, allocations: 1.406 kB / 0.6528 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.2491, allocations: 8.859 kB / 0.6528 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2491, allocations: 1.469 kB / 0.6528 GB, free: 54 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.378e-05/0.2492, allocations: 138.1 kB / 0.6529 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2492, allocations: 24.58 kB / 0.6529 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.2494, allocations: 163.8 kB / 0.6531 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2494, allocations: 1.953 kB / 0.6531 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2494, allocations: 1.656 kB / 0.6531 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2494, allocations: 0 / 0.6531 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2496, allocations: 218 kB / 0.6533 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2496, allocations: 1.875 kB / 0.6533 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.2496, allocations: 13.67 kB / 0.6533 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2496, allocations: 1.125 kB / 0.6533 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.2496, allocations: 1.969 kB / 0.6533 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2496, allocations: 0.7969 kB / 0.6533 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2496, allocations: 0 / 0.6533 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2498, allocations: 252.9 kB / 0.6536 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.2498, allocations: 16.8 kB / 0.6536 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2498, allocations: 0.6562 kB / 0.6536 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.2499, allocations: 7.312 kB / 0.6536 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.2499, allocations: 7.734 kB / 0.6536 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2499, allocations: 7.156 kB / 0.6536 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000114/0.25, allocations: 186.3 kB / 0.6538 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.25, allocations: 0.5625 kB / 0.6538 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002689/0.2503, allocations: 80.47 kB / 0.6539 GB, free: 53.42 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 (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.0004752/0.2508, allocations: 0.8528 MB / 0.6547 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.251, allocations: 102.9 kB / 0.6548 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.251, allocations: 0 / 0.6548 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.2511, allocations: 57.38 kB / 0.6548 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.2515, allocations: 46.25 kB / 0.6549 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.2521, allocations: 446.1 kB / 0.6553 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.762e-05/0.2521, allocations: 131.5 kB / 0.6554 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.2522, allocations: 7.438 kB / 0.6554 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.2522, allocations: 50.33 kB / 0.6555 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.2522, allocations: 0 / 0.6555 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.271, allocations: 5.405 MB / 0.6608 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.358/6.629, allocations: 6.078 kB / 0.6608 GB, free: 51.25 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi_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_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.228905944153666] Failed to read output from testmodel.py, exit status != 0: 6.708111203275621 6.714550575 6.46661847 Calling exit ...