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.0009071/0.0009071, 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.001059/0.001059, 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.915/0.915, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.5217/0.5217, allocations: 80.17 MB / 339.4 MB, free: 7.559 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 2.174e-06/2.174e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.142e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.5605/0.5605, allocations: 350.2 MB / 0.8343 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04577/0.6063, allocations: 55.64 MB / 0.8886 GB, free: 6.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.6092, allocations: 138.8 kB / 0.8888 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004633/0.6139, allocations: 1.925 MB / 0.8907 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02442/0.6383, allocations: 11.21 MB / 0.9016 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.6551, allocations: 8.982 MB / 0.9104 GB, free: 256 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.3957/1.051, allocations: 4.803 MB / 0.9151 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/1.052, allocations: 0.518 MB / 0.9156 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007018/1.059, allocations: 3.612 MB / 0.9191 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/1.062, allocations: 1.579 MB / 0.9206 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003874/1.062, allocations: 261.7 kB / 0.9209 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03456/1.097, allocations: 23.35 MB / 0.9437 GB, free: 21.62 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00179/1.099, allocations: 0.9419 MB / 0.9446 GB, free: 21.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002755/1.101, allocations: 1.149 MB / 0.9457 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.04091/1.142, allocations: 16.28 MB / 0.9616 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/1.142, allocations: 5.812 kB / 0.9616 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.495e-06/1.142, allocations: 4 kB / 0.9616 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001172/1.142, allocations: 0 / 0.9616 GB, free: 20.66 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.01287/1.155, allocations: 6.171 MB / 0.9677 GB, free: 17.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.155, allocations: 16.44 kB / 0.9677 GB, free: 17.69 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003473/1.156, allocations: 341.6 kB / 0.968 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/1.157, allocations: 427.2 kB / 0.9684 GB, free: 17.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/1.159, allocations: 1.688 MB / 0.9701 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/1.16, allocations: 1.116 MB / 0.9711 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/1.16, allocations: 251.8 kB / 0.9714 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/1.164, allocations: 4.133 MB / 0.9754 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/1.164, allocations: 3 kB / 0.9754 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/1.165, allocations: 98.83 kB / 0.9755 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/1.165, allocations: 194.6 kB / 0.9757 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005163/1.17, allocations: 4.989 MB / 0.9806 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/1.182, allocations: 9.963 MB / 0.9903 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/1.185, allocations: 2.836 MB / 0.9931 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/1.187, allocations: 2.055 MB / 0.9951 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002508/1.19, allocations: 1.185 MB / 0.9962 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.19, allocations: 65.25 kB / 0.9963 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=318): time 5.651e-06/1.19, allocations: 0 / 0.9963 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=318): time 0.01224/1.202, allocations: 8.162 MB / 1.004 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.202, allocations: 109.7 kB / 1.004 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/1.204, allocations: 1.483 MB / 1.006 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002943/1.204, allocations: 81.39 kB / 1.006 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/1.205, allocations: 0.9498 MB / 1.007 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008633/1.205, allocations: 1.113 MB / 1.008 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/1.206, allocations: 0.5145 MB / 1.008 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/1.206, allocations: 301.1 kB / 1.009 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/1.208, allocations: 1.686 MB / 1.01 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/1.21, allocations: 1.897 MB / 1.012 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004367/1.215, allocations: 3.691 MB / 1.016 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.215, allocations: 0 / 1.016 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.007027/1.222, allocations: 5.198 MB / 1.021 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.222, allocations: 8 kB / 1.021 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/1.222, allocations: 8 kB / 1.021 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/1.224, allocations: 1.053 MB / 1.022 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.225, allocations: 0.5078 MB / 1.022 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.236, allocations: 15.76 MB / 1.038 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.238, allocations: 295.7 kB / 1.038 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/1.238, allocations: 197.1 kB / 1.038 GB, free: 2.266 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.001192/1.239, allocations: 494.4 kB / 1.039 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007924/1.24, allocations: 310.2 kB / 1.039 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00896/1.249, allocations: 7.325 MB / 1.046 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/1.249, allocations: 38.62 kB / 1.046 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.249, allocations: 4 kB / 1.046 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.249, allocations: 19.94 kB / 1.046 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.26, allocations: 8.541 MB / 1.055 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/1.26, allocations: 11.98 kB / 1.055 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.261, allocations: 0.5101 MB / 1.055 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/1.264, allocations: 1.068 MB / 1.056 GB, free: 404 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.264, allocations: 123.8 kB / 1.056 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.274, allocations: 15.77 MB / 1.072 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.274, allocations: 7.938 kB / 1.072 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.287, allocations: 7.817 MB / 1.079 GB, free: 7.641 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.289, allocations: 0.6745 MB / 1.08 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000614/1.29, allocations: 65.58 kB / 1.08 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.291, allocations: 142.5 kB / 1.08 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/1.291, allocations: 268.2 kB / 1.08 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003401/1.292, allocations: 187.9 kB / 1.081 GB, free: 6.328 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001103/1.293, allocations: 1.1 MB / 1.082 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/1.293, allocations: 0 / 1.082 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.008918/1.302, allocations: 3.622 MB / 1.085 GB, free: 1.574 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.02254/1.324, allocations: 13.14 MB / 1.098 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008046/1.332, allocations: 5.639 MB / 1.104 GB, free: 14.92 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.332, allocations: 4.125 kB / 1.104 GB, free: 14.92 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005705/1.338, allocations: 4.006 MB / 1.107 GB, free: 10.82 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.342, allocations: 1.277 MB / 1.109 GB, free: 9.574 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04459/1.386, allocations: 27.95 MB / 1.136 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.387, allocations: 1.294 MB / 1.137 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002831/1.39, allocations: 1.356 MB / 1.139 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.392, allocations: 1.281 MB / 1.14 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of SimCode: time 1.683e-06/1.392, allocations: 0 / 1.14 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4161/1.808, allocations: 161.4 MB / 1.297 GB, free: 490 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/17.24, allocations: 9.781 kB / 1.297 GB, free: 490 MB / 0.948 GB " [Timeout remaining time 643] (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: 19.848681347444654] Failed to read output from testmodel.py, exit status != 0: 17.41321353893727 17.420923415 16.276931091 Calling exit ...