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.001828/0.001829, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.564/1.564, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.003219/0.003219, allocations: 0.5663 MB / 291 MB, free: 1.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.89 kB / 351.7 MB, free: 2.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.102, allocations: 49.61 MB / 401.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.1487/0.2508, allocations: 0.561 MB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002919/0.2511, allocations: 46.8 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.2512, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.2512, allocations: 8.719 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.2513, allocations: 5.047 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.548e-05/0.2514, allocations: 11.53 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.2515, allocations: 51.69 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.2516, allocations: 6.062 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.2516, allocations: 22.66 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.2517, allocations: 31.59 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2517, allocations: 5.469 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.2518, allocations: 4.156 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.2518, allocations: 11.25 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2518, allocations: 27.8 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.541e-05/0.2519, allocations: 29.8 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2519, allocations: 0.6875 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2519, allocations: 0.6562 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.252, allocations: 1.469 kB / 402.1 MB, free: 10.32 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.0005267/0.2525, allocations: 371.8 kB / 402.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2525, allocations: 17.64 kB / 402.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.2526, allocations: 37.08 kB / 402.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.2526, allocations: 16.09 kB / 402.5 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.2527, allocations: 174.2 kB / 402.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2527, allocations: 6.281 kB / 402.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.2528, allocations: 9.969 kB / 402.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.2529, allocations: 71.53 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2529, allocations: 7.938 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2529, allocations: 0.5625 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2529, allocations: 5.375 kB / 402.8 MB, free: 9.648 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.253, allocations: 43.44 kB / 402.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.2535, allocations: 306.2 kB / 403.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.2538, allocations: 104.3 kB / 403.2 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.2538, allocations: 37.36 kB / 403.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2538, allocations: 1.812 kB / 403.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.2539, allocations: 32.11 kB / 403.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.2539, allocations: 0 / 403.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002608/0.2565, allocations: 0.7576 MB / 404.1 MB, free: 9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.2565, allocations: 52.53 kB / 404.1 MB, free: 8.938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.2566, allocations: 108.5 kB / 404.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2566, allocations: 29.08 kB / 404.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.2567, allocations: 94.89 kB / 404.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.2567, allocations: 56.78 kB / 404.4 MB, free: 8.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.2567, allocations: 33.88 kB / 404.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.2568, allocations: 322.8 kB / 404.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.2569, allocations: 43.64 kB / 404.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.257, allocations: 62.05 kB / 404.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2571, allocations: 105.5 kB / 404.9 MB, free: 8.312 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2571, allocations: 0 / 404.9 MB, free: 8.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001468/0.2586, allocations: 361.4 kB / 405.3 MB, free: 8.238 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2586, allocations: 4.531 kB / 405.3 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2586, allocations: 1.906 kB / 405.3 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.2603, allocations: 269.4 kB / 405.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.2604, allocations: 13.48 kB / 405.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.2641, allocations: 2.327 MB / 407.9 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.2642, allocations: 4 kB / 407.9 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2643, allocations: 9.203 kB / 407.9 MB, free: 6.375 MB / 286.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.0001023/0.2644, allocations: 121 kB / 408 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.2644, allocations: 12.16 kB / 408 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.2645, allocations: 20.05 kB / 408.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2645, allocations: 2.625 kB / 408.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.2645, allocations: 0.7969 kB / 408.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2645, allocations: 0.6562 kB / 408.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2647, allocations: 195.2 kB / 408.3 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2647, allocations: 4.547 kB / 408.3 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.2648, allocations: 12.52 kB / 408.3 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.2669, allocations: 282 kB / 408.6 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2669, allocations: 3.062 kB / 408.6 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.2688, allocations: 1.94 MB / 410.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2688, allocations: 4.844 kB / 410.5 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2699, allocations: 405.4 kB / 410.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.2699, allocations: 87.75 kB / 411 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2699, allocations: 13.66 kB / 411 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2701, allocations: 1.891 kB / 411 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.2701, allocations: 15.55 kB / 411 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2701, allocations: 4.109 kB / 411 MB, free: 3.934 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.2702, allocations: 87.98 kB / 411.1 MB, free: 3.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2702, allocations: 0 / 411.1 MB, free: 3.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000436/0.2706, allocations: 34.06 kB / 411.1 MB, free: 3.852 MB / 286.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.001431/0.2721, allocations: 0.9413 MB / 412.1 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.2728, allocations: 308.6 kB / 412.4 MB, free: 2.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2728, allocations: 0 / 412.4 MB, free: 2.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.2731, allocations: 226.3 kB / 412.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.2733, allocations: 10.28 kB / 412.6 MB, free: 2.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.2772, allocations: 2.064 MB / 414.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.2773, allocations: 0.7078 MB / 415.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.781e-05/0.2774, allocations: 5.188 kB / 415.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.2774, allocations: 28.06 kB / 415.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2774, allocations: 0 / 415.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.31, allocations: 3.878 MB / 419.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.22, allocations: 10.66 kB / 419.3 MB, free: 15.95 MB / 302.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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)