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.001027/0.001027, allocations: 97.56 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.005572/0.005572, allocations: 172.6 kB / 16.27 MB, free: 6.656 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8703/0.8703, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 8 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 82.32 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4055/0.5366, allocations: 217.3 MB / 0.8003 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.5513, allocations: 12.05 MB / 0.8121 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.5524, allocations: 67.56 kB / 0.8121 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.554, allocations: 0.7147 MB / 0.8128 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005418/0.5594, allocations: 2.685 MB / 0.8154 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.562, allocations: 1.286 MB / 0.8167 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00549/0.5675, allocations: 6.074 MB / 0.8226 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.5692, allocations: 1.441 MB / 0.824 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004657/0.5739, allocations: 2.149 MB / 0.8261 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.5769, allocations: 1.515 MB / 0.8276 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.5771, allocations: 84 kB / 0.8277 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.5811, allocations: 2.451 MB / 0.8301 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.5816, allocations: 0.5802 MB / 0.8307 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009227/0.5826, allocations: 0.9421 MB / 0.8316 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.5858, allocations: 3.278 MB / 0.8348 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.5858, allocations: 0 / 0.8348 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5859, allocations: 4 kB / 0.8348 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.5859, allocations: 0 / 0.8348 GB, free: 15.55 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.002814/0.5887, allocations: 1.889 MB / 0.8366 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.5887, allocations: 8.031 kB / 0.8366 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.589, allocations: 206.8 kB / 0.8368 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002696/0.5917, allocations: 0.4972 MB / 0.8373 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.5934, allocations: 1.259 MB / 0.8385 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.5935, allocations: 110.8 kB / 0.8387 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.5937, allocations: 152 kB / 0.8388 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.5961, allocations: 1.753 MB / 0.8405 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.07e-05/0.5961, allocations: 0 / 0.8405 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.5963, allocations: 64 kB / 0.8406 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.5963, allocations: 50.55 kB / 0.8406 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.5983, allocations: 1.392 MB / 0.842 GB, free: 7.945 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.007471/0.6058, allocations: 7.303 MB / 0.8491 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.6072, allocations: 1.031 MB / 0.8501 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008776/0.608, allocations: 0.7022 MB / 0.8508 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.6082, allocations: 118.2 kB / 0.8509 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6083, allocations: 51.56 kB / 0.851 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009447/0.6092, allocations: 294.6 kB / 0.8512 GB, free: 14 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 2.444e-06/0.6093, allocations: 4 kB / 0.8512 GB, free: 14 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.00641/0.6157, allocations: 4.314 MB / 0.8555 GB, free: 9.605 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.6158, allocations: 167.2 kB / 0.8556 GB, free: 9.402 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.6171, allocations: 1.263 MB / 0.8569 GB, free: 8.129 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/0.6172, allocations: 49.7 kB / 0.8569 GB, free: 8.074 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.6177, allocations: 0.7007 MB / 0.8576 GB, free: 7.367 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.618, allocations: 402.1 kB / 0.858 GB, free: 6.969 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6181, allocations: 121.6 kB / 0.8581 GB, free: 6.844 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6182, allocations: 362 kB / 0.8584 GB, free: 6.484 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/0.619, allocations: 0.5114 MB / 0.8589 GB, free: 5.973 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009556/0.62, allocations: 0.844 MB / 0.8598 GB, free: 5.008 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.01063/0.6306, allocations: 4.736 MB / 0.8644 GB, free: 120 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6306, allocations: 4 kB / 0.8644 GB, free: 116 kB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.2139/0.8445, allocations: 1.593 MB / 0.8659 GB, free: 217.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.8445, allocations: 9.656 kB / 0.8659 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.8446, allocations: 8.719 kB / 0.866 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.8446, allocations: 19.84 kB / 0.866 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009866/0.8456, allocations: 289.1 kB / 0.8663 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.8456, allocations: 20.98 kB / 0.8663 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8469, allocations: 96.22 kB / 0.8664 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.847, allocations: 58.69 kB / 0.8664 GB, free: 217.2 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 sytem: 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.0005543/0.8476, allocations: 428.4 kB / 0.8668 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.8478, allocations: 163.6 kB / 0.867 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.8495, allocations: 1.273 MB / 0.8682 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.8495, allocations: 12.72 kB / 0.8682 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8495, allocations: 0.8125 kB / 0.8682 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/0.8507, allocations: 1.228 MB / 0.8694 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/0.8549, allocations: 3.754 MB / 0.8731 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.8549, allocations: 8.781 kB / 0.8731 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.8559, allocations: 252.4 kB / 0.8734 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.8559, allocations: 14.22 kB / 0.8734 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.856, allocations: 42.48 kB / 0.8734 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.856, allocations: 28.17 kB / 0.8734 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.856, allocations: 18.31 kB / 0.8735 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.8579, allocations: 2.195 MB / 0.8756 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.8583, allocations: 355.3 kB / 0.8759 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.8585, allocations: 35.06 kB / 0.876 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.8595, allocations: 99.88 kB / 0.8761 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.8597, allocations: 101.7 kB / 0.8762 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.8597, allocations: 50.62 kB / 0.8762 GB, free: 213.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007844/0.8605, allocations: 0.8558 MB / 0.877 GB, free: 213.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8605, allocations: 0 / 0.877 GB, free: 213.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009881/0.8615, allocations: 427 kB / 0.8775 GB, free: 213.5 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.002346/0.8639, allocations: 2.868 MB / 0.8803 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.8652, allocations: 1.209 MB / 0.8814 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8652, allocations: 2.719 kB / 0.8814 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.8658, allocations: 0.5433 MB / 0.882 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/0.871, allocations: 0.8975 MB / 0.8828 GB, free: 211 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.8851, allocations: 14.37 MB / 0.8969 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.8858, allocations: 1.379 MB / 0.8982 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001332/0.8872, allocations: 377.2 kB / 0.8986 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/0.8879, allocations: 0.645 MB / 0.8992 GB, free: 200.9 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.8879, allocations: 0 / 0.8992 GB, free: 200.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.912, allocations: 40.93 MB / 0.9392 GB, free: 187.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/2.912, allocations: 270.9 kB / 0.9394 GB, free: 186.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/6.696, allocations: 4 kB / 0.9394 GB, free: 186.8 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)