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.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.001382/0.001382, 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.0009653/0.0009653, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8692/0.8692, allocations: 177.1 MB / 202.8 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6354/0.6354, allocations: 116 MB / 375.2 MB, free: 4.176 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 9.22e-07/9.22e-07, allocations: 0 / 0.5532 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.205e-06/9.127e-06, allocations: 2.281 kB / 0.5532 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.5285/0.5286, allocations: 350.2 MB / 0.8952 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.4404/0.969, allocations: 55.68 MB / 0.9496 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/0.9736, allocations: 149.9 kB / 0.9498 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004898/0.9785, allocations: 1.928 MB / 0.9516 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02526/1.004, allocations: 11.23 MB / 0.9626 GB, free: 52 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01808/1.022, allocations: 9.014 MB / 0.9714 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006486/1.028, allocations: 4.864 MB / 0.9762 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009978/1.029, allocations: 0.5161 MB / 0.9767 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006255/1.036, allocations: 3.638 MB / 0.9802 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/1.038, allocations: 1.586 MB / 0.9818 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005493/1.038, allocations: 263.3 kB / 0.982 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03502/1.073, allocations: 23.35 MB / 1.005 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/1.075, allocations: 0.9416 MB / 1.006 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002537/1.077, allocations: 1.152 MB / 1.007 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.03497/1.112, allocations: 16.35 MB / 1.023 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.112, allocations: 3.531 kB / 1.023 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.014e-06/1.112, allocations: 0 / 1.023 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001301/1.112, allocations: 0.8438 kB / 1.023 GB, free: 10.02 MB / 0.7917 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.01622/1.129, allocations: 6.219 MB / 1.029 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.129, allocations: 11.06 kB / 1.029 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000298/1.129, allocations: 340.1 kB / 1.029 GB, free: 6.215 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008695/1.13, allocations: 431.2 kB / 1.03 GB, free: 6.012 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/1.132, allocations: 1.744 MB / 1.031 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005266/1.133, allocations: 1.117 MB / 1.032 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/1.133, allocations: 249.8 kB / 1.033 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/1.137, allocations: 4.131 MB / 1.037 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/1.137, allocations: 6.531 kB / 1.037 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/1.137, allocations: 100.1 kB / 1.037 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/1.137, allocations: 196.8 kB / 1.037 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/1.142, allocations: 4.991 MB / 1.042 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/1.153, allocations: 9.846 MB / 1.052 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/1.156, allocations: 2.737 MB / 1.054 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/1.158, allocations: 1.927 MB / 1.056 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/1.16, allocations: 1.192 MB / 1.057 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.16, allocations: 72.11 kB / 1.057 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=318): time 5.33e-06/1.16, allocations: 0 / 1.057 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=318): time 0.01144/1.172, allocations: 7.897 MB / 1.065 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.172, allocations: 112.5 kB / 1.065 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/1.173, allocations: 1.527 MB / 1.067 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/1.174, allocations: 82.33 kB / 1.067 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/1.174, allocations: 0.97 MB / 1.068 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006967/1.175, allocations: 1.113 MB / 1.069 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006007/1.175, allocations: 0.5216 MB / 1.069 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/1.175, allocations: 305.1 kB / 1.07 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/1.177, allocations: 1.602 MB / 1.071 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/1.18, allocations: 1.812 MB / 1.073 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/1.184, allocations: 3.514 MB / 1.076 GB, free: 13.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.184, allocations: 0 / 1.076 GB, free: 13.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.007734/1.192, allocations: 5.015 MB / 1.081 GB, free: 8.172 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.192, allocations: 8 kB / 1.081 GB, free: 8.164 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.192, allocations: 12 kB / 1.081 GB, free: 8.152 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/1.194, allocations: 1.136 MB / 1.082 GB, free: 6.992 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.195, allocations: 0.5193 MB / 1.083 GB, free: 6.496 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/1.206, allocations: 15.72 MB / 1.098 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/1.208, allocations: 289.8 kB / 1.098 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/1.208, allocations: 187.9 kB / 1.099 GB, free: 5.348 MB / 0.8386 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.001082/1.209, allocations: 487.9 kB / 1.099 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/1.21, allocations: 314.2 kB / 1.099 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008721/1.218, allocations: 7.061 MB / 1.106 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/1.218, allocations: 36 kB / 1.106 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/1.218, allocations: 8 kB / 1.106 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/1.218, allocations: 15.94 kB / 1.106 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.229, allocations: 8.257 MB / 1.114 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.229, allocations: 12 kB / 1.114 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.23, allocations: 0.5154 MB / 1.115 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002513/1.232, allocations: 1.152 MB / 1.116 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/1.232, allocations: 122.6 kB / 1.116 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.243, allocations: 15.75 MB / 1.132 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.243, allocations: 0 / 1.132 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00961/1.253, allocations: 7.52 MB / 1.139 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.254, allocations: 0.6688 MB / 1.14 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/1.254, allocations: 66.47 kB / 1.14 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/1.255, allocations: 147.4 kB / 1.14 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/1.255, allocations: 269.5 kB / 1.14 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/1.256, allocations: 181.3 kB / 1.14 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001049/1.257, allocations: 1.125 MB / 1.141 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/1.257, allocations: 192 / 1.141 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00767/1.264, allocations: 3.638 MB / 1.145 GB, free: 4.969 MB / 0.8855 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.01902/1.283, allocations: 12.69 MB / 1.157 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006605/1.29, allocations: 5.338 MB / 1.162 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.29, allocations: 0 / 1.162 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004346/1.294, allocations: 3.693 MB / 1.166 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/1.298, allocations: 1.269 MB / 1.167 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/1.334, allocations: 27.21 MB / 1.194 GB, free: 2.699 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.335, allocations: 1.271 MB / 1.195 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00235/1.338, allocations: 1.291 MB / 1.196 GB, free: 100 kB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/1.339, allocations: 1.3 MB / 1.198 GB, free: 14.83 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/1.339, allocations: 0 / 1.198 GB, free: 14.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4202/1.759, allocations: 161.3 MB / 1.355 GB, free: 0.5175 GB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/15.17, allocations: 3.469 kB / 1.355 GB, free: 0.5175 GB / 1.042 GB " [Timeout remaining time 645] (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: 17.837798732332885] Failed to read output from testmodel.py, exit status != 0: 15.33937862701714 15.346257711 14.232307927 Calling exit ...