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.001023/0.001023, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.008235/0.008235, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.267/1.267, allocations: 223.2 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7378/0.7378, allocations: 132.3 MB / 423.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 12 kB / 0.5041 GB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3338, allocations: 81.57 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1667/0.5006, allocations: 177.3 MB / 0.7568 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007603/0.5082, allocations: 5.357 MB / 0.7621 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.5087, allocations: 31.81 kB / 0.7621 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.5096, allocations: 374.1 kB / 0.7625 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.5128, allocations: 1.568 MB / 0.764 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.5143, allocations: 0.721 MB / 0.7647 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.5171, allocations: 2.979 MB / 0.7676 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007037/0.5178, allocations: 0.566 MB / 0.7682 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.5187, allocations: 0.6027 MB / 0.7687 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.5203, allocations: 0.6802 MB / 0.7694 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.837e-05/0.5204, allocations: 28 kB / 0.7694 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.5227, allocations: 1.601 MB / 0.771 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.523, allocations: 267.2 kB / 0.7713 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.5234, allocations: 427.6 kB / 0.7717 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.5252, allocations: 1.69 MB / 0.7733 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5252, allocations: 0 / 0.7733 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5252, allocations: 0 / 0.7733 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.5252, allocations: 0 / 0.7733 GB, free: 13.54 MB / 0.6075 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.001467/0.5267, allocations: 1.009 MB / 0.7743 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.5267, allocations: 8.031 kB / 0.7743 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.5268, allocations: 102.5 kB / 0.7744 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.5286, allocations: 274.7 kB / 0.7747 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009386/0.5295, allocations: 0.6709 MB / 0.7753 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.5296, allocations: 49.25 kB / 0.7754 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.5297, allocations: 60 kB / 0.7754 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009797/0.5307, allocations: 0.5804 MB / 0.776 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5307, allocations: 0 / 0.776 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.5308, allocations: 24 kB / 0.776 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.5308, allocations: 21.31 kB / 0.776 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008764/0.5317, allocations: 0.497 MB / 0.7765 GB, free: 10.14 MB / 0.6075 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.003027/0.5347, allocations: 2.38 MB / 0.7788 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.5354, allocations: 424.6 kB / 0.7793 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.5358, allocations: 213.5 kB / 0.7795 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.536, allocations: 101 kB / 0.7796 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.536, allocations: 42.56 kB / 0.7796 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.536, allocations: 0 / 0.7796 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.002711/0.5387, allocations: 1.447 MB / 0.781 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5388, allocations: 63.78 kB / 0.7811 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.5394, allocations: 0.5383 MB / 0.7816 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.5394, allocations: 37.7 kB / 0.7816 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.5397, allocations: 328.6 kB / 0.7819 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.5398, allocations: 173.4 kB / 0.7821 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.5399, allocations: 45.64 kB / 0.7822 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.54, allocations: 370.8 kB / 0.7825 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.5404, allocations: 177 kB / 0.7827 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.5407, allocations: 256.8 kB / 0.7829 GB, free: 3.246 MB / 0.6075 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.003365/0.5441, allocations: 1.432 MB / 0.7843 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5441, allocations: 0 / 0.7843 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008246/0.545, allocations: 0.5265 MB / 0.7848 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.545, allocations: 8 kB / 0.7848 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.545, allocations: 0 / 0.7848 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.545, allocations: 4 kB / 0.7848 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.5454, allocations: 99.83 kB / 0.7849 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5455, allocations: 7.938 kB / 0.7849 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.5461, allocations: 39.38 kB / 0.785 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.5461, allocations: 20 kB / 0.785 GB, free: 1.059 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0002872/0.5464, allocations: 242.4 kB / 0.7852 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.5465, allocations: 63.25 kB / 0.7853 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5467, allocations: 78.45 kB / 0.7854 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5467, allocations: 4 kB / 0.7854 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5467, allocations: 11.92 kB / 0.7854 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007151/0.5474, allocations: 0.5105 MB / 0.7859 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.5497, allocations: 1.578 MB / 0.7874 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5497, allocations: 4 kB / 0.7874 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.5502, allocations: 119.8 kB / 0.7875 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.5503, allocations: 7.984 kB / 0.7875 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.5503, allocations: 23.94 kB / 0.7876 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.5503, allocations: 4 kB / 0.7876 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5503, allocations: 12.34 kB / 0.7876 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.5515, allocations: 0.9375 MB / 0.7885 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.5518, allocations: 196.2 kB / 0.7887 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.5519, allocations: 19.94 kB / 0.7887 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.5524, allocations: 48.94 kB / 0.7888 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.5525, allocations: 39.83 kB / 0.7888 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.5526, allocations: 27.98 kB / 0.7888 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004241/0.553, allocations: 402.8 kB / 0.7892 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.553, allocations: 0 / 0.7892 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005966/0.5536, allocations: 200 kB / 0.7894 GB, free: 12.31 MB / 0.6231 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.001698/0.5553, allocations: 1.569 MB / 0.7909 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007224/0.5561, allocations: 441.5 kB / 0.7913 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5561, allocations: 0 / 0.7913 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.5564, allocations: 232.9 kB / 0.7916 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.559, allocations: 482.5 kB / 0.792 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.566, allocations: 5.924 MB / 0.7978 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.5665, allocations: 0.9729 MB / 0.7988 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005161/0.567, allocations: 161.9 kB / 0.7989 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.5673, allocations: 259.3 kB / 0.7992 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.5673, allocations: 0 / 0.7992 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6161/1.183, allocations: 19.3 MB / 0.818 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.184, allocations: 258.9 kB / 0.8183 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.681, allocations: 2.922 kB / 0.8183 GB, free: 218.1 MB / 0.6387 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)