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.008898/0.008899, allocations: 102 kB / 15.73 MB, free: 6.051 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.001859/0.001859, allocations: 195 kB / 16.68 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9363/0.9363, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.91 kB / 0.5852 GB, free: 3.781 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4448, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7127/1.158, allocations: 222.6 MB / 0.8815 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01953/1.177, allocations: 12.1 MB / 0.8934 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/1.181, allocations: 76.44 kB / 0.8934 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002904/1.184, allocations: 0.8482 MB / 0.8943 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008446/1.192, allocations: 2.863 MB / 0.8971 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003873/1.196, allocations: 1.431 MB / 0.8985 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006821/1.203, allocations: 4.436 MB / 0.9028 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/1.206, allocations: 1.716 MB / 0.9045 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006727/1.212, allocations: 2.49 MB / 0.9069 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/1.216, allocations: 1.562 MB / 0.9084 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007792/1.217, allocations: 178.5 kB / 0.9086 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/1.222, allocations: 2.164 MB / 0.9107 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/1.223, allocations: 0.7029 MB / 0.9114 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002359/1.225, allocations: 1.051 MB / 0.9124 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006288/1.232, allocations: 3.335 MB / 0.9157 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.232, allocations: 0 / 0.9157 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.503e-06/1.232, allocations: 0.5938 kB / 0.9157 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001259/1.232, allocations: 0.75 kB / 0.9157 GB, free: 0.8594 MB / 0.6856 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.005154/1.237, allocations: 2.275 MB / 0.9179 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.237, allocations: 11.19 kB / 0.9179 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002477/1.237, allocations: 213.2 kB / 0.9181 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/1.24, allocations: 0.4926 MB / 0.9186 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/1.243, allocations: 1.333 MB / 0.9199 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/1.243, allocations: 113.3 kB / 0.92 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/1.243, allocations: 158.9 kB / 0.9201 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/1.246, allocations: 1.748 MB / 0.9219 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/1.246, allocations: 4.156 kB / 0.9219 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/1.246, allocations: 67.11 kB / 0.9219 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/1.246, allocations: 56.12 kB / 0.922 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/1.248, allocations: 1.394 MB / 0.9233 GB, free: 14.87 MB / 0.7012 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.008176/1.256, allocations: 7.267 MB / 0.9304 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.258, allocations: 1.019 MB / 0.9314 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007918/1.258, allocations: 0.6997 MB / 0.9321 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/1.259, allocations: 115.7 kB / 0.9322 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/1.259, allocations: 55.34 kB / 0.9323 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009773/1.26, allocations: 307.5 kB / 0.9326 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=106): time 3.216e-06/1.26, allocations: 0 / 0.9326 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112): time 0.007055/1.267, allocations: 4.43 MB / 0.9369 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/1.267, allocations: 165.3 kB / 0.9371 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/1.268, allocations: 1.263 MB / 0.9383 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-05/1.268, allocations: 51.77 kB / 0.9383 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/1.269, allocations: 0.6978 MB / 0.939 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/1.269, allocations: 402.3 kB / 0.9394 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/1.269, allocations: 260.2 kB / 0.9397 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.27, allocations: 360.9 kB / 0.94 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/1.27, allocations: 0.5231 MB / 0.9405 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.271, allocations: 0.858 MB / 0.9413 GB, free: 7.633 MB / 0.7012 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.01054/1.282, allocations: 4.781 MB / 0.946 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.282, allocations: 10.84 kB / 0.946 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002792/1.285, allocations: 1.626 MB / 0.9476 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.285, allocations: 8.406 kB / 0.9476 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/1.285, allocations: 8.344 kB / 0.9476 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/1.285, allocations: 15.62 kB / 0.9476 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.286, allocations: 290.2 kB / 0.9479 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.688e-05/1.286, allocations: 16.56 kB / 0.9479 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.288, allocations: 55.34 kB / 0.948 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.288, allocations: 56.67 kB / 0.948 GB, free: 6.387 MB / 0.7012 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.0009157/1.289, allocations: 432.4 kB / 0.9485 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/1.289, allocations: 163 kB / 0.9486 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.291, allocations: 1.286 MB / 0.9499 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/1.292, allocations: 17.41 kB / 0.9499 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.292, allocations: 3.938 kB / 0.9499 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/1.293, allocations: 1.244 MB / 0.9511 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/1.3, allocations: 3.765 MB / 0.9548 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.3, allocations: 10.56 kB / 0.9548 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.301, allocations: 250.4 kB / 0.955 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/1.301, allocations: 16.06 kB / 0.955 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.301, allocations: 35.22 kB / 0.9551 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.127e-05/1.301, allocations: 23.55 kB / 0.9551 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.301, allocations: 14.03 kB / 0.9551 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/1.304, allocations: 2.221 MB / 0.9573 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/1.305, allocations: 354.8 kB / 0.9576 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/1.305, allocations: 35.53 kB / 0.9577 GB, free: 384 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.307, allocations: 54.5 kB / 0.9577 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/1.307, allocations: 99.06 kB / 0.9578 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.307, allocations: 57.44 kB / 0.9579 GB, free: 280 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00136/1.308, allocations: 0.8522 MB / 0.9587 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.308, allocations: 0 / 0.9587 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001645/1.31, allocations: 435.6 kB / 0.9591 GB, free: 15.64 MB / 0.7169 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.003643/1.314, allocations: 2.91 MB / 0.9619 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002161/1.316, allocations: 1.253 MB / 0.9632 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.316, allocations: 4 kB / 0.9632 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/1.317, allocations: 0.5492 MB / 0.9637 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/1.321, allocations: 0.9277 MB / 0.9646 GB, free: 10 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.342, allocations: 12.64 MB / 0.977 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.343, allocations: 1.378 MB / 0.9783 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001541/1.345, allocations: 385.3 kB / 0.9787 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009346/1.346, allocations: 0.6438 MB / 0.9793 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.346, allocations: 0 / 0.9793 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08642/1.432, allocations: 44.08 MB / 1.022 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.48, allocations: 7.938 kB / 1.022 GB, free: 14.82 MB / 0.7794 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)