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+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.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.001013/0.001013, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008798/0.008798, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.587/1.587, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.003916/0.003916, allocations: 0.5585 MB / 292 MB, free: 1.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003762, allocations: 8 kB / 353.4 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4225, allocations: 50.57 MB / 404 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.000791/0.4233, allocations: 308 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.4235, allocations: 48.69 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.4236, allocations: 0 / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.4236, allocations: 3.438 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.4237, allocations: 7.422 kB / 404.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.4239, allocations: 13.95 kB / 404.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.424, allocations: 50.08 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.4241, allocations: 4.031 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.4241, allocations: 20.83 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.4242, allocations: 30.97 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.4243, allocations: 3.375 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.4243, allocations: 3.406 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.4243, allocations: 14.52 kB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.4244, allocations: 51.64 kB / 404.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.4245, allocations: 31.2 kB / 404.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4245, allocations: 0.6562 kB / 404.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4245, allocations: 0 / 404.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4245, allocations: 0.875 kB / 404.5 MB, free: 9.965 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.0005446/0.4251, allocations: 366.6 kB / 404.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.4252, allocations: 9.312 kB / 404.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.4252, allocations: 36.81 kB / 404.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.4253, allocations: 10.14 kB / 405 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4254, allocations: 177.6 kB / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.4255, allocations: 3.031 kB / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.4255, allocations: 13.48 kB / 405.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4257, allocations: 73.77 kB / 405.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4257, allocations: 3.938 kB / 405.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4258, allocations: 0 / 405.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4258, allocations: 6.219 kB / 405.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.4259, allocations: 41.16 kB / 405.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.4265, allocations: 302.8 kB / 405.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4269, allocations: 122.5 kB / 405.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.427, allocations: 44.64 kB / 405.7 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.427, allocations: 2.688 kB / 405.7 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.427, allocations: 35.44 kB / 405.8 MB, free: 8.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.4271, allocations: 0 / 405.8 MB, free: 8.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003321/0.4304, allocations: 0.7932 MB / 406.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.4305, allocations: 59.36 kB / 406.6 MB, free: 8.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.4306, allocations: 115.6 kB / 406.7 MB, free: 8.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.4306, allocations: 29.58 kB / 406.8 MB, free: 8.449 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.4307, allocations: 85.58 kB / 406.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.4307, allocations: 62.75 kB / 406.9 MB, free: 8.324 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.4308, allocations: 23.91 kB / 406.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.4308, allocations: 324.2 kB / 407.2 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.4309, allocations: 42.69 kB / 407.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4311, allocations: 65.41 kB / 407.3 MB, free: 7.977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.4344, allocations: 0.5896 MB / 407.9 MB, free: 7.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4344, allocations: 1.469 kB / 407.9 MB, free: 7.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001894/0.4363, allocations: 372.2 kB / 408.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.4364, allocations: 9.312 kB / 408.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.4364, allocations: 1.25 kB / 408.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/0.4384, allocations: 290.9 kB / 408.6 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.4385, allocations: 14.81 kB / 408.6 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.4427, allocations: 2.147 MB / 410.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.4428, allocations: 5.719 kB / 410.8 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4428, allocations: 4.312 kB / 410.8 MB, free: 6.164 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.p2 = 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 (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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.443, allocations: 126.5 kB / 410.9 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.443, allocations: 12.3 kB / 410.9 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.4431, allocations: 19.31 kB / 410.9 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4431, allocations: 5.609 kB / 410.9 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.4431, allocations: 1.375 kB / 410.9 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4431, allocations: 1.266 kB / 410.9 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.4446, allocations: 0.5828 MB / 411.5 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4446, allocations: 1.031 kB / 411.5 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.4446, allocations: 16.56 kB / 411.5 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/0.4471, allocations: 309.7 kB / 411.8 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.4471, allocations: 2.688 kB / 411.8 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.4498, allocations: 1.814 MB / 413.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4498, allocations: 0 / 413.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.4511, allocations: 434.6 kB / 414.1 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.4511, allocations: 92.45 kB / 414.2 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4511, allocations: 6.031 kB / 414.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4512, allocations: 1.375 kB / 414.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.4513, allocations: 17.27 kB / 414.2 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4513, allocations: 5.5 kB / 414.2 MB, free: 3.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.4514, allocations: 88.11 kB / 414.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4514, allocations: 0 / 414.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004373/0.4518, allocations: 34.72 kB / 414.3 MB, free: 3.582 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 (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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/0.4533, allocations: 0.9723 MB / 415.3 MB, free: 2.801 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008012/0.4541, allocations: 315 kB / 415.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4541, allocations: 0 / 415.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006172/0.4547, allocations: 260.4 kB / 415.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.455, allocations: 10.72 kB / 415.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.46, allocations: 2.158 MB / 418 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.4602, allocations: 0.7036 MB / 418.7 MB, free: 204 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.936e-05/0.4603, allocations: 9.312 kB / 418.7 MB, free: 200 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.4604, allocations: 25.23 kB / 418.8 MB, free: 180 kB / 286.1 MB Notification: Performance of SimCode: time 2.856e-06/0.4604, allocations: 4 kB / 418.8 MB, free: 176 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3679/0.8283, allocations: 3.624 MB / 422.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004079/0.8288, allocations: 333.5 kB / 422.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.102, allocations: 3.859 kB / 422.7 MB, free: 15.21 MB / 302.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/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)