Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.005407/0.005407, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001871/0.001871, allocations: 189 kB / 16.67 MB, free: 5.969 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.849/1.849, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.393/1.393, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002688, allocations: 58.72 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2897, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 1.125/1.415, allocations: 181.9 MB / 0.8368 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01163/1.426, allocations: 5.347 MB / 0.842 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/1.43, allocations: 34.53 kB / 0.842 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002511/1.432, allocations: 438.4 kB / 0.8424 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009372/1.442, allocations: 1.673 MB / 0.8441 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004244/1.446, allocations: 0.807 MB / 0.8449 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006703/1.453, allocations: 2.176 MB / 0.847 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/1.455, allocations: 0.6856 MB / 0.8477 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/1.458, allocations: 0.7523 MB / 0.8484 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/1.461, allocations: 0.6841 MB / 0.8491 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004743/1.462, allocations: 79.38 kB / 0.8491 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005919/1.468, allocations: 1.401 MB / 0.8505 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/1.469, allocations: 320.6 kB / 0.8508 GB, free: 176 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/1.471, allocations: 467.1 kB / 0.8513 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006717/1.477, allocations: 1.661 MB / 0.8529 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/1.477, allocations: 2.906 kB / 0.8529 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.087e-06/1.477, allocations: 0 / 0.8529 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.933e-05/1.478, allocations: 0 / 0.8529 GB, free: 14.82 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.004874/1.482, allocations: 1.191 MB / 0.8541 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.843e-05/1.483, allocations: 10.09 kB / 0.8541 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003298/1.483, allocations: 98.52 kB / 0.8542 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/1.486, allocations: 270.9 kB / 0.8544 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/1.488, allocations: 0.7085 MB / 0.8551 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/1.488, allocations: 45.72 kB / 0.8551 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/1.489, allocations: 61.06 kB / 0.8552 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/1.49, allocations: 0.5809 MB / 0.8558 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/1.49, allocations: 3.984 kB / 0.8558 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/1.49, allocations: 25.06 kB / 0.8558 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/1.49, allocations: 25.38 kB / 0.8558 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/1.491, allocations: 0.4975 MB / 0.8563 GB, free: 12.24 MB / 0.6231 GB 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.004879/1.496, allocations: 2.361 MB / 0.8586 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/1.497, allocations: 432.6 kB / 0.859 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/1.497, allocations: 216.7 kB / 0.8592 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/1.498, allocations: 101.1 kB / 0.8593 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/1.498, allocations: 43.27 kB / 0.8594 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/1.498, allocations: 4 kB / 0.8594 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003849/1.502, allocations: 1.43 MB / 0.8608 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.502, allocations: 63.78 kB / 0.8608 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009103/1.503, allocations: 0.5382 MB / 0.8614 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/1.503, allocations: 37.7 kB / 0.8614 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/1.503, allocations: 332.6 kB / 0.8617 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.503, allocations: 169.5 kB / 0.8619 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.504, allocations: 86.25 kB / 0.862 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00023/1.504, allocations: 378.8 kB / 0.8623 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/1.504, allocations: 169 kB / 0.8625 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/1.505, allocations: 256.8 kB / 0.8627 GB, free: 5.316 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/1.508, allocations: 1.431 MB / 0.8641 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.508, allocations: 0 / 0.8641 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001043/1.509, allocations: 0.5265 MB / 0.8646 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.51, allocations: 7.984 kB / 0.8646 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.51, allocations: 0 / 0.8646 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.51, allocations: 4 kB / 0.8646 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/1.51, allocations: 91.91 kB / 0.8647 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/1.51, allocations: 7.938 kB / 0.8647 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/1.511, allocations: 25.77 kB / 0.8648 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/1.511, allocations: 20 kB / 0.8648 GB, free: 3.148 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004792/1.511, allocations: 249.6 kB / 0.865 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/1.512, allocations: 63.25 kB / 0.8651 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/1.512, allocations: 82.45 kB / 0.8652 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.512, allocations: 4 kB / 0.8652 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.512, allocations: 3.938 kB / 0.8652 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008811/1.513, allocations: 0.5067 MB / 0.8657 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.516, allocations: 1.581 MB / 0.8672 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.516, allocations: 12.06 kB / 0.8672 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/1.517, allocations: 119.9 kB / 0.8673 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/1.517, allocations: 8 kB / 0.8673 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/1.517, allocations: 19.98 kB / 0.8674 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-05/1.517, allocations: 16.75 kB / 0.8674 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.517, allocations: 4 kB / 0.8674 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/1.518, allocations: 0.9374 MB / 0.8683 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/1.519, allocations: 204.2 kB / 0.8685 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.519, allocations: 16 kB / 0.8685 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/1.52, allocations: 23.92 kB / 0.8685 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/1.52, allocations: 39.98 kB / 0.8686 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/1.52, allocations: 32.98 kB / 0.8686 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000597/1.521, allocations: 394.8 kB / 0.869 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.521, allocations: 0 / 0.869 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009776/1.521, allocations: 196 kB / 0.8692 GB, free: 14.41 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00229/1.524, allocations: 1.565 MB / 0.8707 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009757/1.525, allocations: 449.2 kB / 0.8711 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.525, allocations: 4 kB / 0.8711 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/1.525, allocations: 233 kB / 0.8713 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.528, allocations: 0.4995 MB / 0.8718 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/1.538, allocations: 5.457 MB / 0.8772 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/1.539, allocations: 0.9768 MB / 0.8781 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009582/1.54, allocations: 153.9 kB / 0.8783 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/1.54, allocations: 255.4 kB / 0.8785 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of SimCode: time 5.37e-06/1.54, allocations: 4 kB / 0.8785 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08286/1.623, allocations: 20.72 MB / 0.8987 GB, free: 108 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/15.21, allocations: 15.92 kB / 0.8988 GB, free: 92 kB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)