Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.000894/0.000894, 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.00117/0.00117, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8495/0.8495, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001373/0.001373, allocations: 234 kB / 259.4 MB, free: 13.01 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.6458/0.6458, allocations: 138.4 MB / 454.3 MB, free: 30.03 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.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6462 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.05e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001872/0.001892, allocations: 1.275 MB / 0.6475 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2452/0.2471, allocations: 0.6966 MB / 0.6482 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.2472, allocations: 0 / 0.6482 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.2472, allocations: 1.875 kB / 0.6482 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.2472, allocations: 7.438 kB / 0.6482 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.2477, allocations: 132.1 kB / 0.6483 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.2478, allocations: 28.12 kB / 0.6483 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.2479, allocations: 2.375 kB / 0.6483 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.248, allocations: 26.31 kB / 0.6484 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.2481, allocations: 11.72 kB / 0.6484 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2481, allocations: 2.531 kB / 0.6484 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.2484, allocations: 159.2 kB / 0.6485 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.2484, allocations: 9.375 kB / 0.6485 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.2484, allocations: 7.219 kB / 0.6485 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.2486, allocations: 141.1 kB / 0.6487 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2486, allocations: 1.406 kB / 0.6487 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2487, allocations: 0 / 0.6487 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2487, allocations: 0 / 0.6487 GB, free: 55.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003008/0.249, allocations: 275.1 kB / 0.6489 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.249, allocations: 12.59 kB / 0.649 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.249, allocations: 33.45 kB / 0.649 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.2491, allocations: 7.438 kB / 0.649 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.081e-05/0.2492, allocations: 111.9 kB / 0.6491 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2492, allocations: 2.312 kB / 0.6491 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2492, allocations: 3.594 kB / 0.6491 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.2493, allocations: 42.11 kB / 0.6491 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.2493, allocations: 1.25 kB / 0.6491 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2493, allocations: 6.531 kB / 0.6491 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2493, allocations: 4.531 kB / 0.6492 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.2494, allocations: 20.52 kB / 0.6492 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.2495, allocations: 129.8 kB / 0.6493 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.2495, allocations: 36.28 kB / 0.6493 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.2496, allocations: 15.53 kB / 0.6493 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.2498, allocations: 33.17 kB / 0.6494 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.2498, allocations: 34.28 kB / 0.6494 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.2498, allocations: 1.938 kB / 0.6494 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0001608/0.25, allocations: 71.02 kB / 0.6495 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.25, allocations: 54.34 kB / 0.6495 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/0.2501, allocations: 94.95 kB / 0.6496 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.2501, allocations: 28.36 kB / 0.6496 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.185e-05/0.2501, allocations: 81.55 kB / 0.6497 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.2501, allocations: 23.17 kB / 0.6497 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.2501, allocations: 18.28 kB / 0.6498 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.152e-05/0.2502, allocations: 316 kB / 0.6501 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.2502, allocations: 8.766 kB / 0.6501 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.2502, allocations: 9.125 kB / 0.6501 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.2502, allocations: 28.28 kB / 0.6501 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2503, allocations: 1.375 kB / 0.6501 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.925e-05/0.2503, allocations: 56.16 kB / 0.6502 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2503, allocations: 5.781 kB / 0.6502 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2503, allocations: 3.844 kB / 0.6502 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2504, allocations: 4.688 kB / 0.6502 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.2504, allocations: 14.2 kB / 0.6502 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2504, allocations: 4.281 kB / 0.6502 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.2504, allocations: 0.7812 kB / 0.6502 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2504, allocations: 4.328 kB / 0.6502 GB, free: 54.09 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 (5): * Single equations (assignments): 5 * 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 3.845e-05/0.2505, allocations: 110.4 kB / 0.6503 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.2505, allocations: 2.469 kB / 0.6503 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.2506, allocations: 82.61 kB / 0.6504 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2506, allocations: 5.312 kB / 0.6504 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2506, allocations: 0.5 kB / 0.6504 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2506, allocations: 5.984 kB / 0.6504 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.217e-05/0.2507, allocations: 130.6 kB / 0.6505 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2507, allocations: 0.5625 kB / 0.6505 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.2507, allocations: 10.7 kB / 0.6505 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2507, allocations: 0 / 0.6505 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2507, allocations: 3.422 kB / 0.6505 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2507, allocations: 3.938 kB / 0.6505 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2507, allocations: 0.8125 kB / 0.6505 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.149e-05/0.2508, allocations: 88.73 kB / 0.6506 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.2508, allocations: 7.734 kB / 0.6506 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2508, allocations: 4.094 kB / 0.6506 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.2508, allocations: 5.875 kB / 0.6506 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.2509, allocations: 5.125 kB / 0.6507 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.2509, allocations: 6.031 kB / 0.6507 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.2509, allocations: 79.83 kB / 0.6507 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2509, allocations: 0.625 kB / 0.6507 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001888/0.2511, allocations: 37.36 kB / 0.6508 GB, free: 53.62 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 (6): * Single equations (assignments): 6 * 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.0003059/0.2514, allocations: 0.6635 MB / 0.6514 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.2515, allocations: 26.02 kB / 0.6514 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2515, allocations: 1.406 kB / 0.6514 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.2515, allocations: 19.91 kB / 0.6515 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.2516, allocations: 8.078 kB / 0.6515 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.2519, allocations: 162.3 kB / 0.6516 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.252, allocations: 64.58 kB / 0.6517 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.252, allocations: 11.66 kB / 0.6517 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.252, allocations: 17.02 kB / 0.6517 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.252, allocations: 0 / 0.6517 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.2664, allocations: 2.973 MB / 0.6546 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.403/6.669, allocations: 8.906 kB / 0.6546 GB, free: 51.96 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.233054648153484] Failed to read output from testmodel.py, exit status != 0: 6.7448781887069345 6.751839207 6.501500297 Calling exit ...