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.00159/0.00159, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001972/0.001972, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6325/0.6325, allocations: 94.56 MB / 404.1 MB, free: 10.98 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 83.86 kB / 0.5506 GB, free: 5.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4408, allocations: 73.02 MB / 0.6219 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.8919/1.333, allocations: 397.4 MB / 1.01 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.1106/1.443, allocations: 73.07 MB / 1.081 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/1.447, allocations: 95.19 kB / 1.081 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007236/1.454, allocations: 2.48 MB / 1.084 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03087/1.485, allocations: 9.566 MB / 1.093 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02474/1.51, allocations: 7.401 MB / 1.1 GB, free: 328 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006986/1.517, allocations: 4.319 MB / 1.105 GB, free: 11.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/1.519, allocations: 0.7512 MB / 1.105 GB, free: 11.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005475/1.524, allocations: 2.328 MB / 1.108 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/1.528, allocations: 2.055 MB / 1.11 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001258/1.529, allocations: 308 kB / 1.11 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05599/1.585, allocations: 26.33 MB / 1.136 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001967/1.587, allocations: 0.9853 MB / 1.137 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003633/1.591, allocations: 1.61 MB / 1.138 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.574/2.165, allocations: 14.14 MB / 1.152 GB, free: 30.72 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/2.165, allocations: 2.719 kB / 1.152 GB, free: 30.72 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/2.165, allocations: 0 / 1.152 GB, free: 30.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001752/2.165, allocations: 2.438 kB / 1.152 GB, free: 30.72 MB / 0.8262 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.01903/2.184, allocations: 5.878 MB / 1.158 GB, free: 28.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/2.184, allocations: 9.156 kB / 1.158 GB, free: 28.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.811e-05/2.184, allocations: 66.09 kB / 1.158 GB, free: 28.03 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000739/2.185, allocations: 364.5 kB / 1.158 GB, free: 27.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/2.186, allocations: 334.6 kB / 1.158 GB, free: 27.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/2.19, allocations: 1.555 MB / 1.16 GB, free: 27.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006073/2.19, allocations: 0.6951 MB / 1.161 GB, free: 26.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/2.191, allocations: 263.2 kB / 1.161 GB, free: 26.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/2.201, allocations: 4.315 MB / 1.165 GB, free: 26.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-05/2.201, allocations: 5.594 kB / 1.165 GB, free: 26.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/2.201, allocations: 100.3 kB / 1.165 GB, free: 26.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003115/2.202, allocations: 208.1 kB / 1.165 GB, free: 26.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009681/2.211, allocations: 5.083 MB / 1.17 GB, free: 26.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/2.237, allocations: 15.66 MB / 1.186 GB, free: 20.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005772/2.243, allocations: 2.784 MB / 1.188 GB, free: 19.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004555/2.247, allocations: 2.083 MB / 1.19 GB, free: 19.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006276/2.254, allocations: 9.342 MB / 1.2 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/2.254, allocations: 65.61 kB / 1.2 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=309): time 8.075e-06/2.254, allocations: 1.062 kB / 1.2 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=314): time 0.04012/2.294, allocations: 12.97 MB / 1.212 GB, free: 23.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/2.294, allocations: 82.98 kB / 1.212 GB, free: 23.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/2.296, allocations: 1.168 MB / 1.213 GB, free: 23.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0007774/2.297, allocations: 79.36 kB / 1.214 GB, free: 23.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/2.297, allocations: 0.8322 MB / 1.214 GB, free: 22.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/2.298, allocations: 1.105 MB / 1.215 GB, free: 22.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/2.3, allocations: 0.507 MB / 1.216 GB, free: 22.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000139/2.3, allocations: 302.5 kB / 1.216 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/2.304, allocations: 1.709 MB / 1.218 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/2.308, allocations: 1.886 MB / 1.22 GB, free: 21.85 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007675/2.316, allocations: 3.674 MB / 1.223 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/2.316, allocations: 0 / 1.223 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01352/2.329, allocations: 5.268 MB / 1.228 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/2.329, allocations: 2.938 kB / 1.228 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.559e-05/2.329, allocations: 17.84 kB / 1.228 GB, free: 21.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002648/2.332, allocations: 0.8317 MB / 1.229 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/2.335, allocations: 0.618 MB / 1.23 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/2.355, allocations: 14.68 MB / 1.244 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/2.357, allocations: 140 kB / 1.244 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006994/2.358, allocations: 187.2 kB / 1.245 GB, free: 11.37 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.001721/2.36, allocations: 0.5407 MB / 1.245 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008455/2.361, allocations: 233.8 kB / 1.245 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/2.377, allocations: 8.233 MB / 1.253 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.749e-05/2.377, allocations: 33.55 kB / 1.253 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/2.377, allocations: 7.812 kB / 1.253 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.233e-05/2.377, allocations: 15.42 kB / 1.253 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02038/2.397, allocations: 9.294 MB / 1.262 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.215e-05/2.397, allocations: 9.156 kB / 1.262 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003384/2.401, allocations: 0.6168 MB / 1.263 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002697/2.404, allocations: 0.8427 MB / 1.264 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/2.405, allocations: 122.6 kB / 1.264 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/2.424, allocations: 14.68 MB / 1.278 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/2.424, allocations: 4 kB / 1.278 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/2.444, allocations: 7.716 MB / 1.286 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/2.446, allocations: 0.6872 MB / 1.287 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008124/2.447, allocations: 61.88 kB / 1.287 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/2.449, allocations: 147.3 kB / 1.287 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006634/2.45, allocations: 261.3 kB / 1.287 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005094/2.45, allocations: 178.4 kB / 1.287 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001819/2.452, allocations: 0.9282 MB / 1.288 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/2.452, allocations: 1.422 kB / 1.288 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01523/2.467, allocations: 3.317 MB / 1.291 GB, free: 2.594 MB / 0.8575 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.03859/2.506, allocations: 12.72 MB / 1.304 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01429/2.52, allocations: 5.469 MB / 1.309 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/2.52, allocations: 0 / 1.309 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.009888/2.53, allocations: 3.583 MB / 1.313 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005903/2.536, allocations: 0.9323 MB / 1.313 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06729/2.603, allocations: 26.71 MB / 1.34 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/2.605, allocations: 1.812 MB / 1.341 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004126/2.609, allocations: 1.443 MB / 1.343 GB, free: 15.85 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/2.611, allocations: 1.164 MB / 1.344 GB, free: 14.69 MB / 0.92 GB Notification: Performance of SimCode: time 1.422e-06/2.611, allocations: 0 / 1.344 GB, free: 14.69 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/2.869, allocations: 141.1 MB / 1.482 GB, free: 2.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.61/22.48, allocations: 9.875 kB / 1.482 GB, free: 2.219 MB / 1.045 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 26.2256285790354] Failed to read output from testmodel.py, exit status != 0: 22.717072608997114 22.737768081 20.568211342 Calling exit ...