Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.000803/0.000803, 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.0008182/0.0008182, 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.8565/0.8565, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001477/0.001477, allocations: 238.3 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.6566/0.6566, allocations: 138.4 MB / 454.3 MB, free: 30.05 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.249e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.2106/0.2106, allocations: 4.376 MB / 0.6506 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.2112, allocations: 0.7588 MB / 0.6513 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.2113, allocations: 2.594 kB / 0.6513 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2114, allocations: 20.66 kB / 0.6513 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.2115, allocations: 40.02 kB / 0.6514 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.2119, allocations: 185.6 kB / 0.6516 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.212, allocations: 181.1 kB / 0.6517 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.2121, allocations: 14.67 kB / 0.6517 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2122, allocations: 109.1 kB / 0.6518 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.2123, allocations: 63.78 kB / 0.6519 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2123, allocations: 15.53 kB / 0.6519 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.2125, allocations: 138.5 kB / 0.652 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.2126, allocations: 29.77 kB / 0.6521 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.2126, allocations: 52.02 kB / 0.6521 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.2129, allocations: 258 kB / 0.6524 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.2129, allocations: 0.5938 kB / 0.6524 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2129, allocations: 0 / 0.6524 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2129, allocations: 0.6875 kB / 0.6524 GB, free: 54.27 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000513/0.2134, allocations: 414.5 kB / 0.6528 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2134, allocations: 12.38 kB / 0.6528 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.2135, allocations: 44.97 kB / 0.6528 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.2135, allocations: 15.81 kB / 0.6528 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.046e-05/0.2135, allocations: 123.5 kB / 0.653 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2136, allocations: 8.406 kB / 0.653 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.2136, allocations: 13.28 kB / 0.653 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.2138, allocations: 120.9 kB / 0.6531 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2138, allocations: 192 / 0.6531 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2138, allocations: 7.953 kB / 0.6531 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2138, allocations: 2.344 kB / 0.6531 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.214, allocations: 140.2 kB / 0.6532 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.2146, allocations: 415.1 kB / 0.6536 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.2148, allocations: 114.1 kB / 0.6537 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.2149, allocations: 67.97 kB / 0.6538 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.2154, allocations: 472.8 kB / 0.6543 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.2154, allocations: 36.25 kB / 0.6543 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.2154, allocations: 4.594 kB / 0.6543 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12): time 0.0003934/0.2158, allocations: 204.8 kB / 0.6545 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.2159, allocations: 57.09 kB / 0.6545 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.2159, allocations: 173.6 kB / 0.6547 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2159, allocations: 30.8 kB / 0.6547 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.216, allocations: 106 kB / 0.6548 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.216, allocations: 42.56 kB / 0.6549 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.2161, allocations: 52.61 kB / 0.6549 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.85e-05/0.2161, allocations: 323.6 kB / 0.6552 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.2162, allocations: 74.19 kB / 0.6553 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2163, allocations: 115.3 kB / 0.6554 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.2166, allocations: 173.7 kB / 0.6556 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2166, allocations: 2.125 kB / 0.6556 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003118/0.2169, allocations: 251.3 kB / 0.6558 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2169, allocations: 5.188 kB / 0.6558 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2169, allocations: 3.078 kB / 0.6558 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2169, allocations: 1.812 kB / 0.6558 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.217, allocations: 54.72 kB / 0.6559 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2171, allocations: 9.844 kB / 0.6559 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.2171, allocations: 30.88 kB / 0.6559 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2171, allocations: 12 kB / 0.6559 GB, free: 51.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 4.747e-05/0.2172, allocations: 120.8 kB / 0.6561 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.2172, allocations: 9.453 kB / 0.6561 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.2175, allocations: 177.3 kB / 0.6562 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2175, allocations: 1.875 kB / 0.6562 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2175, allocations: 3.938 kB / 0.6562 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2175, allocations: 4.938 kB / 0.6562 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2176, allocations: 178.8 kB / 0.6564 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2176, allocations: 2.781 kB / 0.6564 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.2177, allocations: 26.72 kB / 0.6564 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2177, allocations: 4.359 kB / 0.6564 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2177, allocations: 3.562 kB / 0.6565 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2177, allocations: 0 / 0.6565 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2177, allocations: 3.938 kB / 0.6565 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.2179, allocations: 260.5 kB / 0.6567 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.2179, allocations: 22.58 kB / 0.6567 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2179, allocations: 0 / 0.6567 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/0.218, allocations: 13.36 kB / 0.6567 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.218, allocations: 18.56 kB / 0.6568 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.218, allocations: 1.938 kB / 0.6568 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.2181, allocations: 118.3 kB / 0.6569 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2181, allocations: 5.812 kB / 0.6569 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002187/0.2183, allocations: 65.45 kB / 0.6569 GB, free: 51.15 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 (12): * Single equations (assignments): 12 * 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.0004392/0.2187, allocations: 0.8426 MB / 0.6578 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.219, allocations: 163.8 kB / 0.6579 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.219, allocations: 0 / 0.6579 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.2191, allocations: 70.41 kB / 0.658 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.2194, allocations: 25.33 kB / 0.658 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2207, allocations: 1.963 MB / 0.6599 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.2208, allocations: 90.67 kB / 0.66 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.376e-05/0.2208, allocations: 22.28 kB / 0.66 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.2209, allocations: 35.88 kB / 0.6601 GB, free: 48.79 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.2209, allocations: 4 kB / 0.6601 GB, free: 48.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2377, allocations: 5.12 MB / 0.6651 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.076, allocations: 3.906 kB / 0.6651 GB, free: 47.65 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.622638969682157] Failed to read output from testmodel.py, exit status != 0: 7.157455161213875 7.165124772 6.950343199 Calling exit ...