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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 198.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7665/0.7665, allocations: 93.72 MB / 384.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 94.23 kB / 463.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1249, allocations: 68.25 MB / 0.5193 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 1.187/1.312, allocations: 395.5 MB / 0.9055 GB, free: 160 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.08351/1.395, allocations: 72.76 MB / 0.9766 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/1.399, allocations: 68.75 kB / 0.9767 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007097/1.406, allocations: 2.375 MB / 0.979 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.03184/1.438, allocations: 9.478 MB / 0.9882 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02412/1.462, allocations: 7.356 MB / 0.9954 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007707/1.47, allocations: 4.311 MB / 0.9996 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/1.472, allocations: 1.128 MB / 1.001 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/1.477, allocations: 2.216 MB / 1.003 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/1.481, allocations: 1.962 MB / 1.005 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006708/1.481, allocations: 308 kB / 1.005 GB, free: 15.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05641/1.538, allocations: 25.34 MB / 1.03 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002161/1.54, allocations: 0.9801 MB / 1.031 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00295/1.543, allocations: 1.614 MB / 1.032 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.04557/1.589, allocations: 13.98 MB / 1.046 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.589, allocations: 0 / 1.046 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.625e-06/1.589, allocations: 0 / 1.046 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001051/1.589, allocations: 0 / 1.046 GB, free: 8.258 MB / 0.7012 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.0175/1.606, allocations: 5.682 MB / 1.052 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.606, allocations: 11.97 kB / 1.052 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005645/1.607, allocations: 366.5 kB / 1.052 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009375/1.608, allocations: 316.4 kB / 1.052 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/1.611, allocations: 1.447 MB / 1.054 GB, free: 320 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008497/1.612, allocations: 0.7008 MB / 1.054 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004511/1.612, allocations: 259.8 kB / 1.055 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008281/1.62, allocations: 4.323 MB / 1.059 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/1.62, allocations: 4 kB / 1.059 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/1.621, allocations: 104 kB / 1.059 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000281/1.621, allocations: 204.9 kB / 1.059 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009262/1.63, allocations: 5.087 MB / 1.064 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.028/1.658, allocations: 15.72 MB / 1.079 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/1.665, allocations: 3.015 MB / 1.082 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00476/1.67, allocations: 2.275 MB / 1.085 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0095/1.68, allocations: 9.339 MB / 1.094 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/1.68, allocations: 64.95 kB / 1.094 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=309): time 9.117e-06/1.68, allocations: 0 / 1.094 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=314): time 0.03958/1.719, allocations: 12.97 MB / 1.106 GB, free: 6.562 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.719, allocations: 81.84 kB / 1.107 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/1.721, allocations: 1.163 MB / 1.108 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000656/1.722, allocations: 73.7 kB / 1.108 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/1.723, allocations: 0.8214 MB / 1.109 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.724, allocations: 1.051 MB / 1.11 GB, free: 3.316 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/1.726, allocations: 0.5091 MB / 1.11 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.726, allocations: 305.1 kB / 1.11 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004431/1.73, allocations: 1.703 MB / 1.112 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2974/2.028, allocations: 1.891 MB / 1.114 GB, free: 361.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009756/2.038, allocations: 3.666 MB / 1.117 GB, free: 360.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/2.038, allocations: 0 / 1.117 GB, free: 360.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01685/2.055, allocations: 5.278 MB / 1.123 GB, free: 358.8 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/2.055, allocations: 6.688 kB / 1.123 GB, free: 358.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-05/2.055, allocations: 9.766 kB / 1.123 GB, free: 358.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/2.057, allocations: 0.8467 MB / 1.123 GB, free: 358.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/2.061, allocations: 0.6106 MB / 1.124 GB, free: 358.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/2.078, allocations: 14.67 MB / 1.138 GB, free: 346.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/2.08, allocations: 145.1 kB / 1.138 GB, free: 346.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/2.081, allocations: 187.4 kB / 1.139 GB, free: 346.7 MB / 0.7637 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.001214/2.082, allocations: 0.541 MB / 1.139 GB, free: 346.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/2.083, allocations: 214.6 kB / 1.139 GB, free: 346.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02223/2.105, allocations: 8.275 MB / 1.147 GB, free: 343.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001276/2.105, allocations: 39.28 kB / 1.148 GB, free: 343.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.942e-05/2.105, allocations: 9 kB / 1.148 GB, free: 343.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-05/2.105, allocations: 15 kB / 1.148 GB, free: 343.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/2.132, allocations: 9.32 MB / 1.157 GB, free: 339.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.154e-05/2.132, allocations: 11.94 kB / 1.157 GB, free: 339.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/2.135, allocations: 0.6114 MB / 1.157 GB, free: 339.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/2.137, allocations: 0.8535 MB / 1.158 GB, free: 339.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004723/2.137, allocations: 115.5 kB / 1.158 GB, free: 339.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/2.152, allocations: 14.68 MB / 1.173 GB, free: 326.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.152, allocations: 5.031 kB / 1.173 GB, free: 326.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/2.167, allocations: 7.722 MB / 1.18 GB, free: 322.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/2.168, allocations: 0.6755 MB / 1.181 GB, free: 321.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/2.169, allocations: 59.3 kB / 1.181 GB, free: 321.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/2.17, allocations: 146.2 kB / 1.181 GB, free: 321.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/2.171, allocations: 262 kB / 1.181 GB, free: 321.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/2.171, allocations: 176.8 kB / 1.181 GB, free: 321.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001073/2.172, allocations: 0.9359 MB / 1.182 GB, free: 321 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/2.172, allocations: 0 / 1.182 GB, free: 321 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007333/2.179, allocations: 3.243 MB / 1.185 GB, free: 320.3 MB / 0.7637 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.02627/2.206, allocations: 12.26 MB / 1.197 GB, free: 311 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01659/2.222, allocations: 6.869 MB / 1.204 GB, free: 304 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/2.222, allocations: 6.312 kB / 1.204 GB, free: 304 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005982/2.228, allocations: 3.761 MB / 1.208 GB, free: 300.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/2.232, allocations: 0.938 MB / 1.209 GB, free: 299.3 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04586/2.278, allocations: 29.11 MB / 1.237 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/2.279, allocations: 1.82 MB / 1.239 GB, free: 267 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003231/2.283, allocations: 1.433 MB / 1.24 GB, free: 265.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/2.284, allocations: 1.167 MB / 1.241 GB, free: 264.4 MB / 0.7637 GB Notification: Performance of SimCode: time 1.302e-06/2.284, allocations: 0 / 1.241 GB, free: 264.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1962/2.48, allocations: 139.4 MB / 1.378 GB, free: 125.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/17.77, allocations: 14.2 kB / 1.378 GB, free: 125.2 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1)