Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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.001264/0.001264, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001563/0.001563, allocations: 219.7 kB / 23.03 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.004862/0.004862, allocations: 0.5796 MB / 313.8 MB, free: 2.289 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.91 kB / 435.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.09065, allocations: 53.53 MB / 489.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.001749/0.0924, allocations: 0.555 MB / 490 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.09259, allocations: 59.75 kB / 490 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.09262, allocations: 0 / 490 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.09264, allocations: 3.938 kB / 490 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.09271, allocations: 3.938 kB / 490 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.719e-05/0.0928, allocations: 7.984 kB / 490.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.09288, allocations: 55.81 kB / 490.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.09292, allocations: 0 / 490.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.09296, allocations: 27.92 kB / 490.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.09303, allocations: 27.91 kB / 490.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.09305, allocations: 4 kB / 490.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.09306, allocations: 4 kB / 490.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.09309, allocations: 11.92 kB / 490.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.09313, allocations: 27.84 kB / 490.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.09321, allocations: 32.11 kB / 490.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09321, allocations: 0 / 490.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09321, allocations: 0 / 490.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.09322, allocations: 0 / 490.2 MB, free: 10.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005194/0.09374, allocations: 306.1 kB / 490.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.09377, allocations: 8.031 kB / 490.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.654e-05/0.09379, allocations: 8.188 kB / 490.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.09382, allocations: 34.75 kB / 490.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.09385, allocations: 4.938 kB / 490.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.09398, allocations: 118.4 kB / 490.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.09399, allocations: 8.375 kB / 490.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.09402, allocations: 8.375 kB / 490.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.09416, allocations: 77.91 kB / 490.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.09416, allocations: 4 kB / 490.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.09417, allocations: 3.938 kB / 490.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.09418, allocations: 4 kB / 490.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.09427, allocations: 31.98 kB / 490.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.09475, allocations: 275.8 kB / 491.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.09504, allocations: 98.53 kB / 491.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.09511, allocations: 36.84 kB / 491.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.09512, allocations: 0 / 491.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.09515, allocations: 42.48 kB / 491.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.021e-06/0.09515, allocations: 4 kB / 491.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002766/0.09792, allocations: 0.6688 MB / 492 MB, free: 8.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.09797, allocations: 55.41 kB / 492 MB, free: 8.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.09806, allocations: 105.8 kB / 492.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.09808, allocations: 29.7 kB / 492.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.09815, allocations: 96.06 kB / 492.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.09819, allocations: 63.42 kB / 492.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.09825, allocations: 33.7 kB / 492.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.09841, allocations: 326.8 kB / 492.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.0985, allocations: 35.98 kB / 492.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.09859, allocations: 60.8 kB / 492.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.09877, allocations: 108.7 kB / 492.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.09878, allocations: 0 / 492.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001615/0.1004, allocations: 353.8 kB / 493.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1004, allocations: 8.031 kB / 493.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1004, allocations: 0 / 493.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.1022, allocations: 272.5 kB / 493.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.1022, allocations: 12 kB / 493.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.1063, allocations: 2.211 MB / 495.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.1064, allocations: 0 / 495.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1064, allocations: 4 kB / 495.7 MB, free: 4.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.1065, allocations: 121.9 kB / 495.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.1066, allocations: 11.89 kB / 495.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.1066, allocations: 20.44 kB / 495.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1066, allocations: 0 / 495.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1066, allocations: 0 / 495.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1066, allocations: 0 / 495.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1069, allocations: 168.7 kB / 496 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1069, allocations: 7.938 kB / 496 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.1069, allocations: 8 kB / 496 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.1088, allocations: 272.5 kB / 496.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1088, allocations: 4 kB / 496.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.1113, allocations: 1.832 MB / 498.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1113, allocations: 4 kB / 498.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1123, allocations: 396 kB / 498.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.1123, allocations: 7.953 kB / 498.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1124, allocations: 7.938 kB / 498.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1125, allocations: 4.031 kB / 498.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1125, allocations: 15.98 kB / 498.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1125, allocations: 3.984 kB / 498.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.549e-05/0.1126, allocations: 87.28 kB / 498.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1126, allocations: 3.938 kB / 498.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.1129, allocations: 36 kB / 498.7 MB, free: 1.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/0.1143, allocations: 0.9346 MB / 499.6 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007059/0.115, allocations: 298.4 kB / 499.9 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.115, allocations: 0 / 499.9 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.1154, allocations: 222.5 kB / 0.4884 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1156, allocations: 4 kB / 0.4884 GB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.12, allocations: 2.086 MB / 0.4905 GB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.222e-05/0.1201, allocations: 84.06 kB / 0.4905 GB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.746e-05/0.1201, allocations: 8.5 kB / 0.4905 GB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.1202, allocations: 23.42 kB / 0.4906 GB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1202, allocations: 0 / 0.4906 GB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.1488, allocations: 4.01 MB / 0.4945 GB, free: 9.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.5, allocations: 11.98 kB / 0.4945 GB, free: 9.812 MB / 366.1 MB " [Timeout remaining time 646] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.363895636983216] Failed to read output from testmodel.py, exit status != 0: 13.677370073040947 13.877964099 13.7818807 Calling exit ...