Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",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.001146/0.001146, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001286/0.001286, allocations: 177.3 kB / 15.95 MB, free: 216 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.507/1.507, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002867/0.002867, allocations: 0.5464 MB / 291.5 MB, free: 1.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003592, allocations: 8 kB / 352.7 MB, free: 2.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 50.57 MB / 403.2 MB, free: 168 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4754/0.5999, allocations: 145.1 MB / 0.5355 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.6084, allocations: 4.739 MB / 0.5402 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.6096, allocations: 27.75 kB / 0.5402 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.6107, allocations: 338.3 kB / 0.5405 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.6149, allocations: 1.092 MB / 0.5416 GB, free: 368 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.6181, allocations: 0.9918 MB / 0.5425 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.6209, allocations: 1.377 MB / 0.5439 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009001/0.6218, allocations: 0.5013 MB / 0.5444 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.6236, allocations: 0.7713 MB / 0.5451 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007443/0.6243, allocations: 0.4905 MB / 0.5456 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.6245, allocations: 40 kB / 0.5456 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.6267, allocations: 0.714 MB / 0.5463 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.627, allocations: 267.2 kB / 0.5466 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.6273, allocations: 193.3 kB / 0.5468 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.629, allocations: 1.14 MB / 0.5479 GB, free: 9.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.629, allocations: 4 kB / 0.5479 GB, free: 9.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.629, allocations: 0 / 0.5479 GB, free: 9.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.629, allocations: 0 / 0.5479 GB, free: 9.863 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002374/0.6314, allocations: 1.096 MB / 0.549 GB, free: 8.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.6315, allocations: 16.03 kB / 0.549 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.6317, allocations: 126.5 kB / 0.5491 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.6327, allocations: 167.9 kB / 0.5493 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6337, allocations: 0.5433 MB / 0.5498 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.6339, allocations: 176.8 kB / 0.55 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.634, allocations: 71.91 kB / 0.55 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.6356, allocations: 1.082 MB / 0.5511 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.6357, allocations: 3.938 kB / 0.5511 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/0.6358, allocations: 32 kB / 0.5511 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/0.6359, allocations: 37.3 kB / 0.5512 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6371, allocations: 0.7777 MB / 0.5519 GB, free: 5.523 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2764/0.9135, allocations: 5.69 MB / 0.5575 GB, free: 145.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/0.9144, allocations: 396.6 kB / 0.5578 GB, free: 145.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.9147, allocations: 264 kB / 0.5581 GB, free: 145.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.9147, allocations: 42.56 kB / 0.5581 GB, free: 145.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 5.1e-06/0.9147, allocations: 0 / 0.5581 GB, free: 145.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.008217/0.923, allocations: 2.254 MB / 0.5603 GB, free: 145.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.923, allocations: 108.3 kB / 0.5604 GB, free: 145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.9241, allocations: 0.674 MB / 0.5611 GB, free: 144.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.9242, allocations: 42.59 kB / 0.5611 GB, free: 144.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.9247, allocations: 466.7 kB / 0.5616 GB, free: 144.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.9249, allocations: 205.2 kB / 0.5618 GB, free: 144.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.9249, allocations: 19.41 kB / 0.5618 GB, free: 144.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.9251, allocations: 389.4 kB / 0.5622 GB, free: 144.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.9256, allocations: 275.6 kB / 0.5624 GB, free: 144 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000991/0.9266, allocations: 0.7586 MB / 0.5632 GB, free: 143.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.9428, allocations: 2.542 MB / 0.5657 GB, free: 143 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.9429, allocations: 5.5 kB / 0.5657 GB, free: 143 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003283/0.9462, allocations: 1.312 MB / 0.5669 GB, free: 142.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.9463, allocations: 11.34 kB / 0.567 GB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.9463, allocations: 17.17 kB / 0.567 GB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.9484, allocations: 479.8 kB / 0.5674 GB, free: 142.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.949, allocations: 190.1 kB / 0.5676 GB, free: 142.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.9507, allocations: 1.115 MB / 0.5687 GB, free: 141.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.9517, allocations: 69.42 kB / 0.5688 GB, free: 141.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.9519, allocations: 96.77 kB / 0.5689 GB, free: 141.6 MB / 430.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.V1.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006271/0.9525, allocations: 293.1 kB / 0.5691 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.9527, allocations: 85.11 kB / 0.5692 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.9558, allocations: 1.205 MB / 0.5704 GB, free: 140.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.9558, allocations: 5.312 kB / 0.5704 GB, free: 140.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.9559, allocations: 1.062 kB / 0.5704 GB, free: 140.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.9559, allocations: 2.906 kB / 0.5704 GB, free: 140.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/0.96, allocations: 1.967 MB / 0.5723 GB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.96, allocations: 1.406 kB / 0.5723 GB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.9604, allocations: 91.58 kB / 0.5724 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.9621, allocations: 303.7 kB / 0.5727 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.9622, allocations: 27.47 kB / 0.5727 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.9634, allocations: 0.8672 MB / 0.5736 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9634, allocations: 1.469 kB / 0.5736 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.9662, allocations: 1.183 MB / 0.5747 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.967, allocations: 211 kB / 0.5749 GB, free: 138.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.9671, allocations: 13.05 kB / 0.5749 GB, free: 138.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/0.9677, allocations: 47.3 kB / 0.575 GB, free: 138.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.9679, allocations: 46.77 kB / 0.575 GB, free: 138.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.968, allocations: 65.02 kB / 0.5751 GB, free: 138.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.9691, allocations: 468.4 kB / 0.5755 GB, free: 138 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9691, allocations: 0 / 0.5755 GB, free: 138 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001947/0.971, allocations: 344.6 kB / 0.5759 GB, free: 138 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * 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 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003725/0.9748, allocations: 2.352 MB / 0.5782 GB, free: 136.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.9768, allocations: 0.7754 MB / 0.5789 GB, free: 136.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9768, allocations: 1.344 kB / 0.5789 GB, free: 136.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.9776, allocations: 343 kB / 0.5793 GB, free: 136.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.9798, allocations: 355 kB / 0.5796 GB, free: 136 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.9906, allocations: 16.14 MB / 0.5954 GB, free: 121.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.9912, allocations: 1.007 MB / 0.5963 GB, free: 120.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001697/0.9929, allocations: 0.5655 MB / 0.5969 GB, free: 120.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.9935, allocations: 337.1 kB / 0.5972 GB, free: 120.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.9935, allocations: 3.938 kB / 0.5972 GB, free: 120.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/1.037, allocations: 27.75 MB / 0.6243 GB, free: 93.05 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.038, allocations: 330.2 kB / 0.6246 GB, free: 92.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.714, allocations: 11.44 kB / 0.6246 GB, free: 92.68 MB / 430.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)