Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_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.002019/0.002019, allocations: 100.9 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.002611/0.002611, 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 2.695/2.695, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.588/1.588, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.0005642, allocations: 12 kB / 0.5069 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3094, allocations: 82.31 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.9922/1.302, allocations: 151.5 MB / 0.7352 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01695/1.319, allocations: 5.287 MB / 0.7404 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/1.321, allocations: 26.94 kB / 0.7404 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003072/1.324, allocations: 485.8 kB / 0.7409 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/1.335, allocations: 1.547 MB / 0.7424 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/1.341, allocations: 0.9007 MB / 0.7432 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005332/1.346, allocations: 1.266 MB / 0.7445 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/1.348, allocations: 0.499 MB / 0.745 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/1.351, allocations: 0.5361 MB / 0.7455 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/1.353, allocations: 429.7 kB / 0.7459 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/1.353, allocations: 24 kB / 0.7459 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003791/1.357, allocations: 0.6038 MB / 0.7465 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007414/1.358, allocations: 236 kB / 0.7467 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007313/1.359, allocations: 193.3 kB / 0.7469 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/1.362, allocations: 1.041 MB / 0.7479 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.362, allocations: 0 / 0.7479 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.365e-06/1.362, allocations: 4 kB / 0.7479 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-05/1.362, allocations: 0 / 0.7479 GB, free: 7.934 MB / 0.5606 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.004131/1.366, allocations: 0.9913 MB / 0.7489 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/1.366, allocations: 19.97 kB / 0.7489 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005115/1.367, allocations: 102.5 kB / 0.749 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/1.371, allocations: 274.7 kB / 0.7493 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/1.373, allocations: 0.6363 MB / 0.7499 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/1.373, allocations: 41.31 kB / 0.75 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/1.373, allocations: 63.94 kB / 0.75 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/1.376, allocations: 0.5765 MB / 0.7506 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/1.376, allocations: 0 / 0.7506 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/1.376, allocations: 27.98 kB / 0.7506 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/1.376, allocations: 25.31 kB / 0.7506 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/1.378, allocations: 0.4931 MB / 0.7511 GB, free: 4.586 MB / 0.5606 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.006074/1.384, allocations: 2.372 MB / 0.7534 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.385, allocations: 423.1 kB / 0.7538 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.898e-05/1.385, allocations: 8.719 kB / 0.7538 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.385, allocations: 38.56 kB / 0.7539 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 4.248e-06/1.385, allocations: 0 / 0.7539 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.00548/1.391, allocations: 1.443 MB / 0.7553 GB, free: 60 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.391, allocations: 59.8 kB / 0.7553 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/1.392, allocations: 0.5382 MB / 0.7559 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.392, allocations: 33.7 kB / 0.7559 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/1.393, allocations: 324.7 kB / 0.7562 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/1.393, allocations: 177.5 kB / 0.7564 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/1.393, allocations: 12 kB / 0.7564 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.393, allocations: 366.8 kB / 0.7567 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/1.394, allocations: 173 kB / 0.7569 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/1.395, allocations: 248.8 kB / 0.7571 GB, free: 14.09 MB / 0.5762 GB 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) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.004838/1.399, allocations: 1.028 MB / 0.7581 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.4, allocations: 0 / 0.7581 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001677/1.401, allocations: 0.5226 MB / 0.7587 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.401, allocations: 8 kB / 0.7587 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.401, allocations: 0 / 0.7587 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/1.401, allocations: 4 kB / 0.7587 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/1.402, allocations: 95.89 kB / 0.7588 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/1.402, allocations: 11.89 kB / 0.7588 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.404, allocations: 39.98 kB / 0.7588 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/1.404, allocations: 16 kB / 0.7588 GB, free: 12.33 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007907/1.404, allocations: 241.7 kB / 0.7591 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/1.405, allocations: 67.16 kB / 0.7591 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/1.405, allocations: 78.45 kB / 0.7592 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/1.405, allocations: 8 kB / 0.7592 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.405, allocations: 0 / 0.7592 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/1.406, allocations: 0.5183 MB / 0.7597 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/1.411, allocations: 1.581 MB / 0.7612 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.411, allocations: 4 kB / 0.7613 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.412, allocations: 119.8 kB / 0.7614 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/1.412, allocations: 4 kB / 0.7614 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/1.412, allocations: 23.98 kB / 0.7614 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.574e-05/1.412, allocations: 4 kB / 0.7614 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/1.412, allocations: 12.41 kB / 0.7614 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/1.415, allocations: 1.17 MB / 0.7626 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008116/1.416, allocations: 200.3 kB / 0.7627 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/1.417, allocations: 19.94 kB / 0.7628 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.418, allocations: 42.2 kB / 0.7628 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.418, allocations: 47.84 kB / 0.7628 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/1.418, allocations: 20 kB / 0.7629 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008963/1.419, allocations: 394.8 kB / 0.7632 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/1.419, allocations: 3.938 kB / 0.7632 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001553/1.42, allocations: 200 kB / 0.7634 GB, free: 7.234 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004376/1.425, allocations: 3.177 MB / 0.7665 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001333/1.426, allocations: 437.5 kB / 0.767 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.426, allocations: 4 kB / 0.767 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/1.427, allocations: 227.6 kB / 0.7672 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.43, allocations: 463.4 kB / 0.7676 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.448, allocations: 4.936 MB / 0.7724 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.449, allocations: 0.9888 MB / 0.7734 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001589/1.451, allocations: 164 kB / 0.7736 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/1.452, allocations: 255.3 kB / 0.7738 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of SimCode: time 2.435e-06/1.452, allocations: 0 / 0.7738 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1916/1.643, allocations: 20.18 MB / 0.7935 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005308/1.644, allocations: 233.9 kB / 0.7937 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.687/6.331, allocations: 0 / 0.7937 GB, free: 8.25 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) Environment - environmentSimulation: