Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.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.001542/0.001542, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001717/0.001717, allocations: 208.3 kB / 22.24 MB, free: 5.262 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.695/1.695, allocations: 230.6 MB / 256 MB, free: 7.781 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.9518/0.9518, allocations: 94.62 MB / 407.1 MB, free: 8.867 MB / 318.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.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",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.002883/0.002883, allocations: 86.72 kB / 0.5549 GB, free: 38.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2057, allocations: 73.06 MB / 0.6263 GB, free: 192 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04755/0.2532, allocations: 36.01 MB / 0.6615 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.2662, allocations: 7.989 MB / 0.6693 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.2677, allocations: 51.5 kB / 0.6693 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.2693, allocations: 480.6 kB / 0.6698 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.2737, allocations: 1.336 MB / 0.6711 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.2767, allocations: 0.9022 MB / 0.672 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.2799, allocations: 2.008 MB / 0.6739 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.2804, allocations: 148.8 kB / 0.6741 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.2833, allocations: 1.202 MB / 0.6752 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.2844, allocations: 0.6764 MB / 0.6759 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.2846, allocations: 96 kB / 0.676 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.2872, allocations: 0.7529 MB / 0.6767 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.2875, allocations: 262.8 kB / 0.677 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007494/0.2883, allocations: 0.5209 MB / 0.6775 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.2921, allocations: 1.813 MB / 0.6792 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.2921, allocations: 8 kB / 0.6793 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2921, allocations: 0 / 0.6793 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.122e-05/0.2921, allocations: 0 / 0.6793 GB, free: 9.75 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003913/0.2961, allocations: 1.628 MB / 0.6808 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.2961, allocations: 12.03 kB / 0.6809 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002039/0.2963, allocations: 131.4 kB / 0.681 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007842/0.2971, allocations: 200 kB / 0.6812 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.2989, allocations: 0.7562 MB / 0.6819 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.2991, allocations: 125.4 kB / 0.682 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.2993, allocations: 91.95 kB / 0.6821 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.3014, allocations: 1.37 MB / 0.6835 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.3015, allocations: 3.938 kB / 0.6835 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/0.3016, allocations: 36 kB / 0.6835 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3016, allocations: 20 kB / 0.6835 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.3034, allocations: 0.9134 MB / 0.6844 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005973/0.3094, allocations: 3.13 MB / 0.6875 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.3115, allocations: 0.8851 MB / 0.6883 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/0.3124, allocations: 425.9 kB / 0.6887 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002876/0.3153, allocations: 1.332 MB / 0.69 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.3153, allocations: 43 kB / 0.6901 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.707e-06/0.3153, allocations: 4 kB / 0.6901 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01018/0.3255, allocations: 3.802 MB / 0.6938 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.3256, allocations: 94.03 kB / 0.6939 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.3268, allocations: 0.7636 MB / 0.6946 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.246e-05/0.3269, allocations: 49.7 kB / 0.6947 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.3273, allocations: 481.2 kB / 0.6951 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.3277, allocations: 408.4 kB / 0.6955 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.328, allocations: 190.9 kB / 0.6957 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3282, allocations: 345.9 kB / 0.696 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/0.329, allocations: 390.4 kB / 0.6964 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.33, allocations: 0.5491 MB / 0.6969 GB, free: 7.055 MB / 0.5294 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.3321, allocations: 1.001 MB / 0.6979 GB, free: 6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3321, allocations: 0 / 0.6979 GB, free: 6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003505/0.3356, allocations: 1.473 MB / 0.6994 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3357, allocations: 8.5 kB / 0.6994 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001529/0.3372, allocations: 0.6685 MB / 0.7 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.3384, allocations: 342.5 kB / 0.7003 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.3393, allocations: 195.8 kB / 0.7005 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.3518, allocations: 11.73 MB / 0.712 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3532, allocations: 40.05 kB / 0.712 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.3534, allocations: 47.98 kB / 0.7121 GB, free: 6.531 MB / 0.545 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (111): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009403/0.3543, allocations: 253.7 kB / 0.7123 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/0.3548, allocations: 119.4 kB / 0.7124 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/0.359, allocations: 1.602 MB / 0.714 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.359, allocations: 12 kB / 0.714 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.359, allocations: 4 kB / 0.714 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.359, allocations: 7.984 kB / 0.714 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/0.3646, allocations: 2.504 MB / 0.7165 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001544/0.3662, allocations: 0.6846 MB / 0.7171 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.367, allocations: 175.8 kB / 0.7173 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.3682, allocations: 366.3 kB / 0.7176 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/0.3683, allocations: 39.97 kB / 0.7177 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.3805, allocations: 11.72 MB / 0.7291 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3805, allocations: 4.031 kB / 0.7291 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/0.3851, allocations: 2.094 MB / 0.7312 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.3855, allocations: 107.2 kB / 0.7313 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.3857, allocations: 24 kB / 0.7313 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.3864, allocations: 47.95 kB / 0.7313 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.3867, allocations: 108.8 kB / 0.7314 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/0.3868, allocations: 35.98 kB / 0.7315 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008465/0.3876, allocations: 0.5427 MB / 0.732 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3876, allocations: 0 / 0.732 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001759/0.3894, allocations: 431.6 kB / 0.7324 GB, free: 0.5195 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.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 (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005476/0.3949, allocations: 2.938 MB / 0.7353 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003842/0.3987, allocations: 1.976 MB / 0.7372 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.3987, allocations: 0 / 0.7372 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/0.4014, allocations: 1.538 MB / 0.7387 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.4033, allocations: 369.9 kB / 0.7391 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4537/0.857, allocations: 9.783 MB / 0.7486 GB, free: 114 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.8579, allocations: 0.4889 MB / 0.7491 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001262/0.8591, allocations: 207.5 kB / 0.7493 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/0.8599, allocations: 456.4 kB / 0.7497 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.174e-06/0.8599, allocations: 1 kB / 0.7497 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.963, allocations: 37.06 MB / 0.7859 GB, free: 92.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/18.65, allocations: 15.11 kB / 0.786 GB, free: 92.2 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 23.18313428014517] Failed to read output from testmodel.py, exit status != 0: 18.80831838492304 18.83364108 18.536759346 Calling exit ...