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.0007579/0.0007579, 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.0008139/0.0008139, allocations: 165.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.8358/0.8358, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.6212/0.6212, 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 1.533e-06/1.533e-06, allocations: 0 / 0.5532 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.276e-05, allocations: 5.656 kB / 0.5532 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.5458/0.5458, allocations: 350.2 MB / 0.8952 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.4337/0.9795, allocations: 55.68 MB / 0.9496 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.9822, allocations: 146.5 kB / 0.9498 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004621/0.9868, allocations: 1.93 MB / 0.9516 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02456/1.011, allocations: 11.23 MB / 0.9626 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.02015/1.032, allocations: 9.004 MB / 0.9714 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.007137/1.039, allocations: 4.864 MB / 0.9762 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/1.04, allocations: 0.52 MB / 0.9767 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007639/1.047, allocations: 3.641 MB / 0.9802 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/1.051, allocations: 1.581 MB / 0.9818 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0008221/1.052, allocations: 263.4 kB / 0.982 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0375/1.089, allocations: 23.36 MB / 1.005 GB, free: 12 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001673/1.091, allocations: 0.9377 MB / 1.006 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002616/1.093, allocations: 1.152 MB / 1.007 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.03789/1.131, allocations: 16.36 MB / 1.023 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/1.131, allocations: 1.938 kB / 1.023 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.546e-06/1.131, allocations: 0 / 1.023 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001825/1.131, allocations: 0.9375 kB / 1.023 GB, free: 9.902 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.01499/1.146, allocations: 6.219 MB / 1.029 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.147, allocations: 10.75 kB / 1.029 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005246/1.147, allocations: 341.5 kB / 1.029 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/1.148, allocations: 433.2 kB / 1.03 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/1.152, allocations: 1.741 MB / 1.031 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000616/1.153, allocations: 1.116 MB / 1.032 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/1.153, allocations: 248.3 kB / 1.033 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005633/1.159, allocations: 4.138 MB / 1.037 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/1.159, allocations: 3.344 kB / 1.037 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/1.159, allocations: 92.88 kB / 1.037 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/1.159, allocations: 195.3 kB / 1.037 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005559/1.165, allocations: 4.993 MB / 1.042 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/1.179, allocations: 9.854 MB / 1.052 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/1.183, allocations: 2.727 MB / 1.054 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/1.185, allocations: 1.925 MB / 1.056 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002763/1.188, allocations: 1.2 MB / 1.057 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/1.188, allocations: 68.06 kB / 1.057 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=318): time 6.773e-06/1.188, allocations: 0 / 1.057 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=318): time 0.01356/1.202, allocations: 7.899 MB / 1.065 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.202, allocations: 113.8 kB / 1.065 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/1.204, allocations: 1.526 MB / 1.067 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003395/1.204, allocations: 80.14 kB / 1.067 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/1.204, allocations: 0.967 MB / 1.068 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008856/1.205, allocations: 1.117 MB / 1.069 GB, free: 3.832 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006417/1.206, allocations: 0.5143 MB / 1.069 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/1.206, allocations: 313.1 kB / 1.07 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/1.208, allocations: 1.597 MB / 1.071 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/1.211, allocations: 1.813 MB / 1.073 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/1.215, allocations: 3.513 MB / 1.076 GB, free: 13.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.215, allocations: 0 / 1.076 GB, free: 13.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.007665/1.223, allocations: 5.023 MB / 1.081 GB, free: 8.074 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.223, allocations: 4 kB / 1.081 GB, free: 8.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/1.223, allocations: 12 kB / 1.081 GB, free: 8.059 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/1.226, allocations: 1.136 MB / 1.082 GB, free: 6.898 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.227, allocations: 0.5193 MB / 1.083 GB, free: 6.402 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.239, allocations: 15.72 MB / 1.098 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.241, allocations: 286.3 kB / 1.098 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004726/1.242, allocations: 192.9 kB / 1.099 GB, free: 5.25 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.001314/1.243, allocations: 493.4 kB / 1.099 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009961/1.244, allocations: 314.2 kB / 1.099 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009071/1.253, allocations: 7.055 MB / 1.106 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/1.253, allocations: 32 kB / 1.106 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/1.253, allocations: 8 kB / 1.106 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/1.253, allocations: 15.94 kB / 1.106 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/1.266, allocations: 8.26 MB / 1.114 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/1.266, allocations: 8 kB / 1.114 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.267, allocations: 0.5154 MB / 1.115 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002534/1.269, allocations: 1.151 MB / 1.116 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/1.27, allocations: 123.7 kB / 1.116 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.281, allocations: 15.75 MB / 1.132 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.281, allocations: 0 / 1.132 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.292, allocations: 7.528 MB / 1.139 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.294, allocations: 0.6688 MB / 1.14 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/1.294, allocations: 69.38 kB / 1.14 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.295, allocations: 137.8 kB / 1.14 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/1.296, allocations: 272.2 kB / 1.14 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003198/1.296, allocations: 183.9 kB / 1.14 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001234/1.297, allocations: 1.129 MB / 1.141 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/1.297, allocations: 192 / 1.141 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0107/1.308, allocations: 3.638 MB / 1.145 GB, free: 4.871 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.0247/1.333, allocations: 12.68 MB / 1.157 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00778/1.341, allocations: 5.345 MB / 1.162 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.341, allocations: 4 kB / 1.162 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005166/1.346, allocations: 3.688 MB / 1.166 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/1.35, allocations: 1.266 MB / 1.167 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04212/1.392, allocations: 27.22 MB / 1.194 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.393, allocations: 1.268 MB / 1.195 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002867/1.396, allocations: 1.291 MB / 1.196 GB, free: 0 / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.397, allocations: 1.295 MB / 1.198 GB, free: 14.73 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/1.397, allocations: 0 / 1.198 GB, free: 14.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4298/1.827, allocations: 161.3 MB / 1.355 GB, free: 0.5174 GB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/14.62, allocations: 3.812 kB / 1.355 GB, free: 0.5174 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 & /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 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.148425163701177] Failed to read output from testmodel.py, exit status != 0: 14.782192991115153 14.788007988 13.655122916 Calling exit ...