Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",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.001026/0.001026, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001227/0.001227, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002416/0.002416, allocations: 0.5469 MB / 291.6 MB, free: 1.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003388, allocations: 8 kB / 352.8 MB, free: 2.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 50.58 MB / 403.3 MB, free: 100 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.236/0.363, allocations: 286.7 kB / 403.6 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.3633, allocations: 53.77 kB / 403.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.3633, allocations: 0.5312 kB / 403.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.3634, allocations: 2.281 kB / 403.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.3634, allocations: 9.594 kB / 403.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.88e-05/0.3636, allocations: 11.81 kB / 403.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.3637, allocations: 42.38 kB / 403.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.3637, allocations: 3.312 kB / 403.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.3638, allocations: 21.67 kB / 403.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.3638, allocations: 32.2 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3639, allocations: 2.844 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.3639, allocations: 3.812 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.3639, allocations: 17.11 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.364, allocations: 36.05 kB / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.238e-05/0.364, allocations: 15.3 kB / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.364, allocations: 0.6094 kB / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.364, allocations: 1.281 kB / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3641, allocations: 0 / 403.9 MB, free: 9.793 MB / 286.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.0004328/0.3645, allocations: 367.1 kB / 404.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.3646, allocations: 9.375 kB / 404.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.3646, allocations: 40.45 kB / 404.3 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.3646, allocations: 7.766 kB / 404.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3648, allocations: 177.1 kB / 404.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3648, allocations: 6.5 kB / 404.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3648, allocations: 5.328 kB / 404.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3649, allocations: 74.73 kB / 404.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.365, allocations: 0 / 404.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.365, allocations: 4.156 kB / 404.6 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.365, allocations: 2.172 kB / 404.6 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.104e-05/0.3651, allocations: 34 kB / 404.6 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3655, allocations: 307 kB / 404.9 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.3658, allocations: 127.7 kB / 405 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.3659, allocations: 39.7 kB / 405.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3659, allocations: 1.094 kB / 405.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.366, allocations: 32.86 kB / 405.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.645e-06/0.366, allocations: 0 / 405.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002709/0.3687, allocations: 0.7946 MB / 405.9 MB, free: 8.492 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3687, allocations: 61 kB / 405.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.3688, allocations: 106.2 kB / 406 MB, free: 8.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3689, allocations: 29.3 kB / 406.1 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.3689, allocations: 93.55 kB / 406.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.369, allocations: 65.89 kB / 406.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.369, allocations: 4.031 kB / 406.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.3691, allocations: 323.6 kB / 406.5 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.955e-05/0.3692, allocations: 43.14 kB / 406.6 MB, free: 7.844 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3693, allocations: 65.72 kB / 406.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.3719, allocations: 486.9 kB / 407.1 MB, free: 7.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3719, allocations: 0 / 407.1 MB, free: 7.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001577/0.3735, allocations: 375.3 kB / 407.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3735, allocations: 4.969 kB / 407.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3735, allocations: 2.719 kB / 407.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.3754, allocations: 285.6 kB / 407.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.3755, allocations: 10.81 kB / 407.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.3798, allocations: 2.139 MB / 409.9 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.3799, allocations: 14.81 kB / 409.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3799, allocations: 3.562 kB / 409.9 MB, free: 6.191 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.p1 = 0.0. 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.3801, allocations: 123.3 kB / 410.1 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.3802, allocations: 7.5 kB / 410.1 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.3802, allocations: 19.72 kB / 410.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3802, allocations: 2.594 kB / 410.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.3802, allocations: 1.156 kB / 410.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3803, allocations: 1.172 kB / 410.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.3817, allocations: 0.5787 MB / 410.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3817, allocations: 0 / 410.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.3817, allocations: 12.31 kB / 410.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.3839, allocations: 318.3 kB / 411 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3839, allocations: 2.469 kB / 411 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.3865, allocations: 1.805 MB / 412.8 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3865, allocations: 4.938 kB / 412.8 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.3877, allocations: 437.2 kB / 413.2 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.3878, allocations: 84.83 kB / 413.3 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.3878, allocations: 9.828 kB / 413.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3879, allocations: 3.328 kB / 413.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.388, allocations: 16.98 kB / 413.4 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.388, allocations: 4.641 kB / 413.4 MB, free: 3.707 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.3881, allocations: 92.16 kB / 413.4 MB, free: 3.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3881, allocations: 0 / 413.4 MB, free: 3.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.3885, allocations: 39.97 kB / 413.5 MB, free: 3.617 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.3899, allocations: 0.9685 MB / 414.5 MB, free: 2.844 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000707/0.3906, allocations: 312.9 kB / 414.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3906, allocations: 0 / 414.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.3911, allocations: 258 kB / 415 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3914, allocations: 7.172 kB / 415 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.3937, allocations: 0.9533 MB / 416 MB, free: 1.914 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.3939, allocations: 0.7026 MB / 416.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.3939, allocations: 9.391 kB / 416.7 MB, free: 1.215 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.394, allocations: 24.53 kB / 416.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.394, allocations: 0.9688 kB / 416.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.4119, allocations: 3.538 MB / 420.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.4123, allocations: 323 kB / 420.6 MB, free: 464 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.424, allocations: 1.281 kB / 420.6 MB, free: 464 kB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)