Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.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.001042/0.001042, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009488/0.0009488, 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.9826/0.9826, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5888/0.5888, allocations: 80.17 MB / 339.4 MB, free: 7.551 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.4924 GB, free: 6.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.624e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.6428/0.6428, allocations: 350.1 MB / 0.8343 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.06269/0.7055, allocations: 55.64 MB / 0.8886 GB, free: 6.609 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.7093, allocations: 138.8 kB / 0.8888 GB, free: 6.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005744/0.7151, allocations: 1.929 MB / 0.8907 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02969/0.7447, allocations: 11.21 MB / 0.9016 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01983/0.7646, allocations: 8.976 MB / 0.9104 GB, free: 272 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.4794/1.244, allocations: 4.803 MB / 0.9151 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/1.246, allocations: 0.5186 MB / 0.9156 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.012/1.258, allocations: 3.611 MB / 0.9191 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/1.262, allocations: 1.582 MB / 0.9206 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008961/1.263, allocations: 261.9 kB / 0.9209 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04053/1.304, allocations: 23.35 MB / 0.9437 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00213/1.306, allocations: 0.936 MB / 0.9446 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003181/1.309, allocations: 1.15 MB / 0.9457 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.04209/1.351, allocations: 16.28 MB / 0.9616 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.351, allocations: 0 / 0.9616 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.613e-06/1.351, allocations: 4 kB / 0.9616 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001011/1.351, allocations: 0 / 0.9616 GB, free: 20.71 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 613 * Number of variables: 613 Notification: Performance of Generate backend data structure: time 0.01452/1.366, allocations: 6.171 MB / 0.9677 GB, free: 17.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.366, allocations: 18.38 kB / 0.9677 GB, free: 17.74 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000335/1.366, allocations: 340.9 kB / 0.968 GB, free: 17.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.367, allocations: 423.7 kB / 0.9684 GB, free: 17.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/1.37, allocations: 1.689 MB / 0.9701 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004931/1.37, allocations: 1.118 MB / 0.9711 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/1.37, allocations: 252.4 kB / 0.9714 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004254/1.375, allocations: 4.135 MB / 0.9754 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/1.375, allocations: 0 / 0.9754 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.375, allocations: 96.17 kB / 0.9755 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/1.375, allocations: 194.5 kB / 0.9757 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00505/1.38, allocations: 4.992 MB / 0.9806 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/1.392, allocations: 9.967 MB / 0.9903 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/1.396, allocations: 2.826 MB / 0.9931 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/1.398, allocations: 2.054 MB / 0.9951 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002585/1.401, allocations: 1.194 MB / 0.9962 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/1.401, allocations: 69.94 kB / 0.9963 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=318): time 6.101e-06/1.401, allocations: 2.906 kB / 0.9963 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=318): time 0.01297/1.414, allocations: 8.151 MB / 1.004 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/1.414, allocations: 115 kB / 1.004 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.415, allocations: 1.486 MB / 1.006 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003672/1.416, allocations: 75.64 kB / 1.006 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/1.416, allocations: 0.9509 MB / 1.007 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009992/1.417, allocations: 1.117 MB / 1.008 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005284/1.418, allocations: 0.5056 MB / 1.008 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/1.418, allocations: 301.1 kB / 1.009 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/1.42, allocations: 1.689 MB / 1.01 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/1.422, allocations: 1.9 MB / 1.012 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/1.426, allocations: 3.688 MB / 1.016 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/1.426, allocations: 0 / 1.016 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.007446/1.433, allocations: 5.198 MB / 1.021 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/1.433, allocations: 4 kB / 1.021 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/1.434, allocations: 12 kB / 1.021 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002429/1.436, allocations: 1.041 MB / 1.022 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.437, allocations: 0.5112 MB / 1.022 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.448, allocations: 15.77 MB / 1.038 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.45, allocations: 296.7 kB / 1.038 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/1.451, allocations: 194.3 kB / 1.038 GB, free: 2.301 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (285): * Single equations (assignments): 252 * Array equations: 17 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,6,100.0%), (1,1,100.0%), (2,2,100.0%), (1,3,100.0%), (1,7,100.0%), (1,3,100.0%), (2,2,100.0%), (2,2,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0012/1.452, allocations: 491 kB / 1.039 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009345/1.453, allocations: 314.2 kB / 1.039 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008878/1.462, allocations: 7.328 MB / 1.046 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.492e-05/1.462, allocations: 36 kB / 1.046 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.462, allocations: 4 kB / 1.046 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/1.462, allocations: 15.94 kB / 1.046 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/1.473, allocations: 8.541 MB / 1.055 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/1.473, allocations: 11.98 kB / 1.055 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.474, allocations: 0.5127 MB / 1.055 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/1.476, allocations: 1.065 MB / 1.056 GB, free: 472 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/1.477, allocations: 121.4 kB / 1.056 GB, free: 352 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/1.488, allocations: 15.77 MB / 1.072 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.488, allocations: 7.969 kB / 1.072 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.499, allocations: 7.815 MB / 1.079 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.501, allocations: 0.6728 MB / 1.08 GB, free: 7.027 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/1.501, allocations: 66.75 kB / 1.08 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/1.502, allocations: 143.2 kB / 1.08 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/1.502, allocations: 265.3 kB / 1.08 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.503, allocations: 189.5 kB / 1.081 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001142/1.504, allocations: 1.099 MB / 1.082 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.11e-07/1.504, allocations: 4.188 kB / 1.082 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01002/1.514, allocations: 3.622 MB / 1.085 GB, free: 1.637 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (turbine1.m_flow,turbine1.phi,turbine1.omega,hex.h_out_A,hex.h_out_B,fan1.m_flow,turbine.m_flow,turbine.phi,turbine.omega,mainHex.h_out_A,mainHex.h_out_B,primaryHex.h_out_A,primaryHex.h_out_B,fan.m_flow) * 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 (288): * Single equations (assignments): 255 * Array equations: 17 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,6,100.0%), (1,3,100.0%), (1,1,100.0%), (2,2,100.0%), (1,7,100.0%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02255/1.536, allocations: 13.14 MB / 1.098 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.009371/1.546, allocations: 5.638 MB / 1.104 GB, free: 14.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.546, allocations: 4.062 kB / 1.104 GB, free: 14.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/1.552, allocations: 4.007 MB / 1.107 GB, free: 10.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.556, allocations: 1.281 MB / 1.109 GB, free: 9.633 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04416/1.6, allocations: 27.95 MB / 1.136 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.601, allocations: 1.29 MB / 1.137 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002729/1.604, allocations: 1.359 MB / 1.139 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/1.605, allocations: 1.281 MB / 1.14 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of SimCode: time 2.184e-06/1.605, allocations: 0 / 1.14 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4444/2.049, allocations: 161.4 MB / 1.297 GB, free: 490.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/15.4, allocations: 1.094 kB / 1.297 GB, free: 490.1 MB / 0.948 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.274020900018513] Failed to read output from testmodel.py, exit status != 0: 15.570169555954635 15.577222669 14.224578507 Calling exit ...