Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001184/0.001184, allocations: 196.9 kB / 16.14 MB, free: 6.695 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8526/0.8526, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.55 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 80.91 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.3911/0.5227, allocations: 220.3 MB / 0.7989 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.5372, allocations: 12.19 MB / 0.8108 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.539, allocations: 63.62 kB / 0.8109 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.541, allocations: 0.7225 MB / 0.8116 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.547, allocations: 2.685 MB / 0.8142 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.5507, allocations: 1.284 MB / 0.8155 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006357/0.5571, allocations: 6.067 MB / 0.8214 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.5594, allocations: 1.497 MB / 0.8229 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005031/0.5645, allocations: 2.202 MB / 0.825 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003632/0.5681, allocations: 1.609 MB / 0.8266 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.5685, allocations: 100 kB / 0.8267 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.5732, allocations: 2.466 MB / 0.8291 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008108/0.574, allocations: 0.6309 MB / 0.8297 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.5755, allocations: 0.96 MB / 0.8307 GB, free: 424 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.58, allocations: 3.338 MB / 0.8339 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.58, allocations: 0 / 0.8339 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.21e-07/0.58, allocations: 0 / 0.8339 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.513e-05/0.5801, allocations: 0 / 0.8339 GB, free: 13.07 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.004232/0.5844, allocations: 2.278 MB / 0.8361 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5844, allocations: 12.03 kB / 0.8362 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003161/0.5847, allocations: 210.8 kB / 0.8364 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/0.5879, allocations: 0.4894 MB / 0.8368 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.59, allocations: 1.259 MB / 0.8381 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.5901, allocations: 114.8 kB / 0.8382 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.5904, allocations: 148 kB / 0.8383 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.5932, allocations: 1.759 MB / 0.84 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.5932, allocations: 3.938 kB / 0.84 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.5934, allocations: 60 kB / 0.8401 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.5934, allocations: 54.53 kB / 0.8401 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.5955, allocations: 1.395 MB / 0.8415 GB, free: 5.055 MB / 0.6544 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.007211/0.6028, allocations: 7.284 MB / 0.8486 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.6041, allocations: 1.019 MB / 0.8496 GB, free: 12.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.6049, allocations: 0.7023 MB / 0.8503 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.6051, allocations: 110.2 kB / 0.8504 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.6052, allocations: 55.56 kB / 0.8505 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009497/0.6061, allocations: 294.6 kB / 0.8507 GB, free: 11.14 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 3.817e-06/0.6061, allocations: 0 / 0.8507 GB, free: 11.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.006439/0.6126, allocations: 4.311 MB / 0.8549 GB, free: 6.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.6127, allocations: 171.2 kB / 0.8551 GB, free: 6.547 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.614, allocations: 1.259 MB / 0.8563 GB, free: 5.277 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.619e-05/0.6141, allocations: 53.7 kB / 0.8564 GB, free: 5.219 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.6146, allocations: 0.6929 MB / 0.8571 GB, free: 4.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.6149, allocations: 406.1 kB / 0.8575 GB, free: 4.117 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.6153, allocations: 263.4 kB / 0.8577 GB, free: 3.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6154, allocations: 358 kB / 0.858 GB, free: 3.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007511/0.6162, allocations: 0.5153 MB / 0.8586 GB, free: 2.984 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009973/0.6172, allocations: 0.8436 MB / 0.8594 GB, free: 2.02 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.2104/0.8276, allocations: 4.719 MB / 0.864 GB, free: 219.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.8276, allocations: 0.5625 kB / 0.864 GB, free: 219.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002061/0.8297, allocations: 1.598 MB / 0.8655 GB, free: 219.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.8297, allocations: 14.53 kB / 0.8656 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8297, allocations: 8.344 kB / 0.8656 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.8298, allocations: 22.45 kB / 0.8656 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.8308, allocations: 287.4 kB / 0.8659 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.8308, allocations: 21.02 kB / 0.8659 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.8321, allocations: 93.88 kB / 0.866 GB, free: 219.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.8322, allocations: 56.77 kB / 0.866 GB, free: 219.4 MB / 0.67 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0005667/0.8327, allocations: 430.8 kB / 0.8664 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.833, allocations: 164.7 kB / 0.8666 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.8346, allocations: 1.274 MB / 0.8678 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.8346, allocations: 13.47 kB / 0.8679 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8346, allocations: 0 / 0.8679 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.8358, allocations: 1.228 MB / 0.869 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.84, allocations: 3.745 MB / 0.8727 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.84, allocations: 10.62 kB / 0.8727 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.841, allocations: 256.2 kB / 0.873 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.8411, allocations: 14.94 kB / 0.873 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.8411, allocations: 36.03 kB / 0.873 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.8411, allocations: 25.77 kB / 0.873 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.8412, allocations: 15.28 kB / 0.873 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.8432, allocations: 2.196 MB / 0.8752 GB, free: 214.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.8436, allocations: 365 kB / 0.8755 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.8438, allocations: 39.12 kB / 0.8756 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.8449, allocations: 94.78 kB / 0.8757 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.845, allocations: 98.22 kB / 0.8758 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.8451, allocations: 54.67 kB / 0.8758 GB, free: 214.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000814/0.8459, allocations: 0.8514 MB / 0.8766 GB, free: 214.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8459, allocations: 0 / 0.8766 GB, free: 214.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001055/0.847, allocations: 427.2 kB / 0.8771 GB, free: 214.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.002459/0.8494, allocations: 2.869 MB / 0.8799 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.8509, allocations: 1.206 MB / 0.881 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8509, allocations: 2.688 kB / 0.881 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.8515, allocations: 0.5453 MB / 0.8816 GB, free: 211.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/0.8549, allocations: 0.9014 MB / 0.8824 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.8702, allocations: 14.22 MB / 0.8963 GB, free: 202.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.871, allocations: 1.378 MB / 0.8977 GB, free: 202 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001416/0.8724, allocations: 376.8 kB / 0.898 GB, free: 201.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/0.8731, allocations: 0.6481 MB / 0.8987 GB, free: 201.4 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.8731, allocations: 0 / 0.8987 GB, free: 201.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8379/1.711, allocations: 41.29 MB / 0.939 GB, free: 186 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.711, allocations: 274.7 kB / 0.9393 GB, free: 185.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.459, allocations: 3.938 kB / 0.9393 GB, free: 185.6 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)