Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.000952/0.0009519, 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.0009519/0.0009519, allocations: 177.3 kB / 15.94 MB, free: 228 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.486/1.486, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003273/0.003273, allocations: 0.5542 MB / 291.5 MB, free: 1.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 12 kB / 352.7 MB, free: 2.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 50.57 MB / 403.2 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4547/0.574, allocations: 145.1 MB / 0.5355 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.5821, allocations: 4.731 MB / 0.5401 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.5833, allocations: 31.75 kB / 0.5402 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.5843, allocations: 338.3 kB / 0.5405 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.5881, allocations: 1.096 MB / 0.5416 GB, free: 344 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.5911, allocations: 0.9856 MB / 0.5425 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.5934, allocations: 1.381 MB / 0.5439 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007612/0.5942, allocations: 0.5012 MB / 0.5444 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.5958, allocations: 0.7792 MB / 0.5451 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007138/0.5965, allocations: 0.4983 MB / 0.5456 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.5966, allocations: 44 kB / 0.5457 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.5988, allocations: 0.7101 MB / 0.5463 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.5991, allocations: 267.2 kB / 0.5466 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.5993, allocations: 193.3 kB / 0.5468 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.6009, allocations: 1.141 MB / 0.5479 GB, free: 9.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.6009, allocations: 0 / 0.5479 GB, free: 9.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6009, allocations: 0 / 0.5479 GB, free: 9.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.6009, allocations: 0 / 0.5479 GB, free: 9.828 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.002358/0.6033, allocations: 1.106 MB / 0.549 GB, free: 8.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.6033, allocations: 8.031 kB / 0.549 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001952/0.6036, allocations: 130.5 kB / 0.5491 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.6046, allocations: 170.8 kB / 0.5493 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.6056, allocations: 0.5356 MB / 0.5498 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.6057, allocations: 176.8 kB / 0.55 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.6059, allocations: 72 kB / 0.55 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.6075, allocations: 1.078 MB / 0.5511 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.6075, allocations: 4 kB / 0.5511 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.6076, allocations: 28 kB / 0.5511 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/0.6077, allocations: 45.23 kB / 0.5512 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6089, allocations: 0.7738 MB / 0.5519 GB, free: 5.492 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.2785/0.8874, allocations: 5.706 MB / 0.5575 GB, free: 146 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.8883, allocations: 386.9 kB / 0.5579 GB, free: 146 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.8886, allocations: 263.9 kB / 0.5581 GB, free: 145.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.8886, allocations: 42.42 kB / 0.5582 GB, free: 145.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.8887, allocations: 1.562 kB / 0.5582 GB, free: 145.6 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.01153/0.9002, allocations: 3.019 MB / 0.5611 GB, free: 145.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.9003, allocations: 110.4 kB / 0.5612 GB, free: 144.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.9013, allocations: 0.6722 MB / 0.5619 GB, free: 144.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.9014, allocations: 43.23 kB / 0.5619 GB, free: 144.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.9018, allocations: 463.8 kB / 0.5623 GB, free: 144.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.902, allocations: 203.4 kB / 0.5625 GB, free: 144.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.902, allocations: 24.5 kB / 0.5626 GB, free: 144.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.9022, allocations: 385 kB / 0.5629 GB, free: 143.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.9028, allocations: 279.1 kB / 0.5632 GB, free: 143.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009173/0.9037, allocations: 0.7611 MB / 0.5639 GB, free: 143.1 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/0.92, allocations: 2.736 MB / 0.5666 GB, free: 142.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.92, allocations: 5.5 kB / 0.5666 GB, free: 142.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003144/0.9232, allocations: 1.283 MB / 0.5679 GB, free: 142.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.9232, allocations: 14.98 kB / 0.5679 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.9233, allocations: 16.38 kB / 0.5679 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.9244, allocations: 283.4 kB / 0.5682 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.9251, allocations: 207 kB / 0.5684 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.9263, allocations: 0.9275 MB / 0.5693 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.9274, allocations: 60.89 kB / 0.5693 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.9276, allocations: 96.77 kB / 0.5694 GB, free: 141.5 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: V1.medium.p = V1.p_start. 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 (113): * Single equations (assignments): 112 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006343/0.9282, allocations: 299.2 kB / 0.5697 GB, free: 141.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.9284, allocations: 80.02 kB / 0.5698 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.9314, allocations: 1.209 MB / 0.571 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.9315, allocations: 5.781 kB / 0.571 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9315, allocations: 0 / 0.571 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.9315, allocations: 3.812 kB / 0.571 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/0.9354, allocations: 1.963 MB / 0.5729 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.9355, allocations: 5.25 kB / 0.5729 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.9358, allocations: 99.16 kB / 0.573 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.9375, allocations: 302.2 kB / 0.5733 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/0.9376, allocations: 27.33 kB / 0.5733 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.9387, allocations: 0.8531 MB / 0.5741 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9387, allocations: 2.188 kB / 0.5741 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.9411, allocations: 1.176 MB / 0.5753 GB, free: 138.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.9416, allocations: 216.9 kB / 0.5755 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.9417, allocations: 20.48 kB / 0.5755 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.9422, allocations: 39.75 kB / 0.5756 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.9423, allocations: 51.61 kB / 0.5756 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.9425, allocations: 65.66 kB / 0.5757 GB, free: 138 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007335/0.9432, allocations: 458.2 kB / 0.5761 GB, free: 137.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9432, allocations: 1.5 kB / 0.5761 GB, free: 137.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001731/0.9449, allocations: 348.9 kB / 0.5764 GB, free: 137.8 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.003345/0.9483, allocations: 2.358 MB / 0.5787 GB, free: 136.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.9501, allocations: 0.7649 MB / 0.5795 GB, free: 136.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.9501, allocations: 1.375 kB / 0.5795 GB, free: 136.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.9509, allocations: 340.9 kB / 0.5798 GB, free: 136 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.9528, allocations: 366.1 kB / 0.5802 GB, free: 135.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.963, allocations: 16.17 MB / 0.5959 GB, free: 121.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.9636, allocations: 1.002 MB / 0.5969 GB, free: 120.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001752/0.9653, allocations: 0.5826 MB / 0.5975 GB, free: 120.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.9659, allocations: 336.1 kB / 0.5978 GB, free: 119.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.403e-06/0.9659, allocations: 3.938 kB / 0.5978 GB, free: 119.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04669/1.013, allocations: 26.96 MB / 0.6241 GB, free: 93.23 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.013, allocations: 310 kB / 0.6244 GB, free: 92.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.669, allocations: 0 / 0.6244 GB, free: 92.87 MB / 430.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)