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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006934/0.006934, allocations: 99.31 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003059/0.003059, allocations: 0.5624 MB / 291.1 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1551/0.1551, allocations: 61.94 kB / 401.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.2436, allocations: 49.6 MB / 451.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.001598/0.2452, allocations: 0.5691 MB / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.2455, allocations: 42.91 kB / 452.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.2455, allocations: 0 / 452.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.2456, allocations: 7.938 kB / 452.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.2457, allocations: 11.92 kB / 452.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.2458, allocations: 11.97 kB / 452.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.2459, allocations: 51.83 kB / 452.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.2459, allocations: 8 kB / 452.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.246, allocations: 19.92 kB / 452.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.2461, allocations: 31.84 kB / 452.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.2461, allocations: 4 kB / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.2461, allocations: 0 / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.2461, allocations: 15.97 kB / 452.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.2462, allocations: 27.8 kB / 452.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.2463, allocations: 31.83 kB / 452.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2463, allocations: 4 kB / 452.4 MB, free: 5.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.2463, allocations: 3.984 kB / 452.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2463, allocations: 4 kB / 452.4 MB, free: 5.078 MB / 318.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.0005646/0.2469, allocations: 361.7 kB / 452.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.247, allocations: 19.88 kB / 452.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.247, allocations: 34.75 kB / 452.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.2471, allocations: 8.844 kB / 452.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2472, allocations: 168.3 kB / 453 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2472, allocations: 12.31 kB / 453 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2473, allocations: 12.28 kB / 453 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.2474, allocations: 78.16 kB / 453.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2474, allocations: 3.938 kB / 453.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2475, allocations: 4 kB / 453.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2475, allocations: 3.984 kB / 453.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.2476, allocations: 35.98 kB / 453.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.2481, allocations: 304.8 kB / 453.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2484, allocations: 106.5 kB / 453.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.2485, allocations: 44.72 kB / 453.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.2485, allocations: 0 / 453.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2485, allocations: 34.56 kB / 453.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.2485, allocations: 0 / 453.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002661/0.2512, allocations: 0.7618 MB / 454.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2512, allocations: 55.34 kB / 454.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.2513, allocations: 113.8 kB / 454.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2514, allocations: 29.7 kB / 454.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.2514, allocations: 84.05 kB / 454.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.2515, allocations: 59.19 kB / 454.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.2515, allocations: 37.72 kB / 454.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2517, allocations: 322.8 kB / 455 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.2518, allocations: 39.98 kB / 455.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.2519, allocations: 59.92 kB / 455.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.252, allocations: 101.7 kB / 455.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.252, allocations: 0 / 455.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001524/0.2536, allocations: 371.8 kB / 455.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2536, allocations: 4 kB / 455.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2536, allocations: 0 / 455.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.2553, allocations: 268.6 kB / 455.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.2554, allocations: 8 kB / 455.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.2592, allocations: 2.322 MB / 458.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.2593, allocations: 8 kB / 458.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2593, allocations: 4 kB / 458.2 MB, free: 14.82 MB / 334.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 9.276e-05/0.2594, allocations: 117.8 kB / 458.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.2594, allocations: 11.88 kB / 458.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.2595, allocations: 20.5 kB / 458.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2595, allocations: 3.938 kB / 458.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2595, allocations: 4 kB / 458.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2595, allocations: 4 kB / 458.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.2597, allocations: 197.6 kB / 458.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2597, allocations: 3.938 kB / 458.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.2598, allocations: 8.094 kB / 458.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.2616, allocations: 288.3 kB / 458.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2616, allocations: 4 kB / 458.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2637, allocations: 1.939 MB / 460.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2637, allocations: 0 / 460.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.2646, allocations: 403.2 kB / 461.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.2647, allocations: 81.02 kB / 461.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2647, allocations: 11.97 kB / 461.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2648, allocations: 4 kB / 461.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.2649, allocations: 11.98 kB / 461.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2649, allocations: 4 kB / 461.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.2649, allocations: 91.81 kB / 461.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.2649, allocations: 4 kB / 461.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000338/0.2653, allocations: 35.94 kB / 461.4 MB, free: 11.36 MB / 334.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.001231/0.2665, allocations: 0.9315 MB / 462.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.2671, allocations: 298.6 kB / 462.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2671, allocations: 0 / 462.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.2675, allocations: 226.7 kB / 462.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.2677, allocations: 19.92 kB / 462.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.2717, allocations: 2.076 MB / 465 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2719, allocations: 0.7007 MB / 465.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.634e-05/0.272, allocations: 4.562 kB / 465.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.272, allocations: 31.42 kB / 465.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.272, allocations: 0 / 465.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2969, allocations: 4.098 MB / 469.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.82, allocations: 11.06 kB / 469.8 MB, free: 2.969 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)