Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5641/0.5641, allocations: 94.58 MB / 399 MB, free: 15.8 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 87.84 kB / 0.5442 GB, free: 12.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 71.83 MB / 0.6143 GB, free: 3.859 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.6877/1.029, allocations: 399 MB / 1.004 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.07013/1.099, allocations: 73.53 MB / 1.076 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/1.101, allocations: 68.56 kB / 1.076 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005636/1.107, allocations: 2.471 MB / 1.078 GB, free: 28 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02332/1.13, allocations: 9.608 MB / 1.088 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01925/1.149, allocations: 7.428 MB / 1.095 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005982/1.155, allocations: 4.312 MB / 1.099 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/1.157, allocations: 0.6658 MB / 1.1 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/1.161, allocations: 2.266 MB / 1.102 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/1.164, allocations: 2.055 MB / 1.104 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007759/1.165, allocations: 308 kB / 1.104 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04969/1.214, allocations: 26.17 MB / 1.13 GB, free: 11.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001462/1.216, allocations: 0.9853 MB / 1.131 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002545/1.218, allocations: 1.606 MB / 1.132 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03339/1.252, allocations: 14.13 MB / 1.146 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.252, allocations: 0 / 1.146 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.794e-06/1.252, allocations: 0 / 1.146 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001106/1.252, allocations: 0 / 1.146 GB, free: 10.39 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01419/1.266, allocations: 5.868 MB / 1.152 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.266, allocations: 15.97 kB / 1.152 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004484/1.267, allocations: 362.5 kB / 1.152 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006885/1.267, allocations: 338 kB / 1.153 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/1.27, allocations: 1.558 MB / 1.154 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006661/1.27, allocations: 0.693 MB / 1.155 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/1.271, allocations: 259.9 kB / 1.155 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006753/1.277, allocations: 4.311 MB / 1.159 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/1.277, allocations: 3.953 kB / 1.159 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/1.278, allocations: 107.9 kB / 1.159 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/1.278, allocations: 208.9 kB / 1.16 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/1.286, allocations: 5.091 MB / 1.165 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02112/1.307, allocations: 15.66 MB / 1.18 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005138/1.312, allocations: 2.78 MB / 1.183 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/1.316, allocations: 2.087 MB / 1.185 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2496/1.565, allocations: 9.334 MB / 1.194 GB, free: 363 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.565, allocations: 64.34 kB / 1.194 GB, free: 363 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=309): time 6.452e-06/1.565, allocations: 0 / 1.194 GB, free: 363 MB / 0.8419 GB Notification: Performance of matching and sorting (n=314): time 0.02588/1.591, allocations: 12.98 MB / 1.206 GB, free: 358.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.591, allocations: 83.58 kB / 1.206 GB, free: 358.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/1.593, allocations: 1.166 MB / 1.208 GB, free: 357.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/1.593, allocations: 73.67 kB / 1.208 GB, free: 357.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/1.593, allocations: 0.8349 MB / 1.209 GB, free: 357.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/1.594, allocations: 1.103 MB / 1.21 GB, free: 356.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008155/1.595, allocations: 0.5082 MB / 1.21 GB, free: 356.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.257e-05/1.595, allocations: 302.9 kB / 1.21 GB, free: 355.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/1.598, allocations: 1.704 MB / 1.212 GB, free: 355.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/1.601, allocations: 1.89 MB / 1.214 GB, free: 354.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006034/1.607, allocations: 3.674 MB / 1.217 GB, free: 352.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.607, allocations: 0 / 1.217 GB, free: 352.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01075/1.618, allocations: 5.263 MB / 1.223 GB, free: 351 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.618, allocations: 5.719 kB / 1.223 GB, free: 351 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/1.618, allocations: 12.75 kB / 1.223 GB, free: 351 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002291/1.62, allocations: 0.8394 MB / 1.223 GB, free: 350.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/1.623, allocations: 0.6086 MB / 1.224 GB, free: 350.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/1.636, allocations: 14.69 MB / 1.238 GB, free: 338.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.638, allocations: 142.6 kB / 1.239 GB, free: 338.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/1.639, allocations: 182.9 kB / 1.239 GB, free: 338.8 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (276): * Single equations (assignments): 251 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,17,100.0%), (1,3,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,1,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001012/1.64, allocations: 0.5424 MB / 1.239 GB, free: 338.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/1.64, allocations: 225.5 kB / 1.239 GB, free: 338.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.652, allocations: 8.246 MB / 1.248 GB, free: 334.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-05/1.652, allocations: 31.69 kB / 1.248 GB, free: 334.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.652, allocations: 7.938 kB / 1.248 GB, free: 334.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/1.653, allocations: 19.88 kB / 1.248 GB, free: 334.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.666, allocations: 9.28 MB / 1.257 GB, free: 328.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/1.666, allocations: 14.48 kB / 1.257 GB, free: 328.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.669, allocations: 0.6185 MB / 1.257 GB, free: 328.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/1.671, allocations: 0.8486 MB / 1.258 GB, free: 328.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003434/1.672, allocations: 127.9 kB / 1.258 GB, free: 328.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/1.685, allocations: 14.67 MB / 1.273 GB, free: 314.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.685, allocations: 3.938 kB / 1.273 GB, free: 314.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.698, allocations: 7.711 MB / 1.28 GB, free: 307 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.699, allocations: 0.6894 MB / 1.281 GB, free: 306.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.699, allocations: 67.77 kB / 1.281 GB, free: 306.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.701, allocations: 147.7 kB / 1.281 GB, free: 306.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004309/1.701, allocations: 249.5 kB / 1.281 GB, free: 305.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/1.701, allocations: 177.8 kB / 1.281 GB, free: 305.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008762/1.702, allocations: 0.9323 MB / 1.282 GB, free: 304.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/1.702, allocations: 0 / 1.282 GB, free: 304.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006204/1.709, allocations: 3.298 MB / 1.285 GB, free: 302.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (heatExchange_CounterFlowNTU.h_out_A,heatExchange_CounterFlowNTU.h_out_B,heatExchange_CounterFlowNTU1.h_out_A,heatExchange_CounterFlowNTU1.h_out_B,compressor.m_flow,compressor.phi,compressor.omega,heatExchange_CounterFlowNTU2.inletA.m_flow,heatExchange_CounterFlowNTU2.h_out_A,heatExchange_CounterFlowNTU2.h_out_B,turbine1.phi,turbine1.omega,splitterT1_1.splitterN.inlet.m_flow,splitterT1_2.splitterN.inlet.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 (279): * Single equations (assignments): 254 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(3,1,88.9%), (1,1,100.0%), (2,17,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02017/1.729, allocations: 12.3 MB / 1.297 GB, free: 290.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00853/1.737, allocations: 5.465 MB / 1.303 GB, free: 284.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.737, allocations: 0 / 1.303 GB, free: 284.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005389/1.743, allocations: 3.594 MB / 1.306 GB, free: 281 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.746, allocations: 0.906 MB / 1.307 GB, free: 280.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03851/1.785, allocations: 26.72 MB / 1.333 GB, free: 253.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/1.786, allocations: 1.816 MB / 1.335 GB, free: 251.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002604/1.788, allocations: 1.435 MB / 1.336 GB, free: 249.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.79, allocations: 1.167 MB / 1.338 GB, free: 248.7 MB / 0.8419 GB Notification: Performance of SimCode: time 9.82e-07/1.79, allocations: 0 / 1.338 GB, free: 248.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1748/1.964, allocations: 141.5 MB / 1.476 GB, free: 107.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/18.51, allocations: 7.984 kB / 1.476 GB, free: 107.4 MB / 0.8419 GB " [Timeout remaining time 641] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.714110237997374]