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.001078/0.001078, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9119/0.9119, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.7 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4259/0.5652, allocations: 222.5 MB / 0.8018 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.5815, allocations: 12.11 MB / 0.8136 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.5835, allocations: 75.56 kB / 0.8137 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.5857, allocations: 0.8616 MB / 0.8145 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006802/0.5925, allocations: 2.858 MB / 0.8173 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.5957, allocations: 1.423 MB / 0.8187 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004827/0.6006, allocations: 4.429 MB / 0.823 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.6025, allocations: 1.709 MB / 0.8247 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004643/0.6072, allocations: 2.455 MB / 0.8271 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.6096, allocations: 1.546 MB / 0.8286 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.6099, allocations: 180 kB / 0.8288 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.6141, allocations: 2.179 MB / 0.8309 GB, free: 328 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006901/0.6148, allocations: 0.7013 MB / 0.8316 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.6159, allocations: 1.042 MB / 0.8326 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.62, allocations: 3.276 MB / 0.8358 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.62, allocations: 0 / 0.8358 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.62, allocations: 3.938 kB / 0.8358 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.62, allocations: 0 / 0.8358 GB, free: 11.28 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.003426/0.6235, allocations: 2.271 MB / 0.838 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6235, allocations: 12.03 kB / 0.838 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.6238, allocations: 206.8 kB / 0.8382 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.6268, allocations: 0.4972 MB / 0.8387 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.6287, allocations: 1.259 MB / 0.84 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.6288, allocations: 110.8 kB / 0.8401 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.629, allocations: 144 kB / 0.8402 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.6315, allocations: 1.756 MB / 0.8419 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.6315, allocations: 3.938 kB / 0.8419 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.6317, allocations: 64 kB / 0.842 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.6317, allocations: 50.55 kB / 0.842 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.6339, allocations: 1.395 MB / 0.8434 GB, free: 3.281 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.007961/0.6418, allocations: 7.325 MB / 0.8505 GB, free: 11.58 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.6433, allocations: 1.019 MB / 0.8515 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009309/0.6442, allocations: 0.6906 MB / 0.8522 GB, free: 9.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.6445, allocations: 114.2 kB / 0.8523 GB, free: 9.688 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.6445, allocations: 59.48 kB / 0.8524 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001172/0.6457, allocations: 298.6 kB / 0.8527 GB, free: 9.324 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 4.048e-06/0.6457, allocations: 4 kB / 0.8527 GB, free: 9.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.007766/0.6535, allocations: 4.436 MB / 0.857 GB, free: 4.809 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.6536, allocations: 171.2 kB / 0.8572 GB, free: 4.605 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.655, allocations: 1.259 MB / 0.8584 GB, free: 3.336 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.6551, allocations: 49.7 kB / 0.8584 GB, free: 3.281 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.6556, allocations: 0.7086 MB / 0.8591 GB, free: 2.566 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.6559, allocations: 394.2 kB / 0.8595 GB, free: 2.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/0.6563, allocations: 263.4 kB / 0.8598 GB, free: 1.914 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6564, allocations: 357.9 kB / 0.8601 GB, free: 1.559 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/0.6572, allocations: 0.5231 MB / 0.8606 GB, free: 1.035 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.6583, allocations: 0.8553 MB / 0.8614 GB, free: 60 kB / 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.2512/0.9094, allocations: 4.791 MB / 0.8661 GB, free: 219.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.9095, allocations: 3.188 kB / 0.8661 GB, free: 219.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002156/0.9116, allocations: 1.617 MB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9117, allocations: 8.562 kB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9117, allocations: 9.062 kB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.9117, allocations: 21.84 kB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.9128, allocations: 296.1 kB / 0.868 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.9128, allocations: 14.88 kB / 0.868 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.9141, allocations: 52.8 kB / 0.8681 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.9142, allocations: 52.81 kB / 0.8681 GB, free: 219.1 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.0005879/0.9148, allocations: 432.4 kB / 0.8686 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.9151, allocations: 171.2 kB / 0.8687 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.9168, allocations: 1.29 MB / 0.87 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.9168, allocations: 13.31 kB / 0.87 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9169, allocations: 0 / 0.87 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/0.9181, allocations: 1.235 MB / 0.8712 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.9229, allocations: 3.762 MB / 0.8749 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.9229, allocations: 7.969 kB / 0.8749 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.924, allocations: 261.3 kB / 0.8751 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.924, allocations: 13.66 kB / 0.8751 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/0.9241, allocations: 36 kB / 0.8752 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.9241, allocations: 25.81 kB / 0.8752 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.9241, allocations: 15.03 kB / 0.8752 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.9263, allocations: 2.215 MB / 0.8774 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/0.9269, allocations: 356.8 kB / 0.8777 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.9271, allocations: 39.3 kB / 0.8778 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.9281, allocations: 53.97 kB / 0.8778 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.9283, allocations: 101.4 kB / 0.8779 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.9283, allocations: 50 kB / 0.878 GB, free: 214.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008771/0.9292, allocations: 0.8551 MB / 0.8788 GB, free: 213.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9292, allocations: 0 / 0.8788 GB, free: 213.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00125/0.9305, allocations: 433.5 kB / 0.8792 GB, free: 213.8 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.002699/0.9332, allocations: 2.902 MB / 0.882 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.9353, allocations: 1.431 MB / 0.8834 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9353, allocations: 0 / 0.8834 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.9359, allocations: 0.5554 MB / 0.884 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/0.9397, allocations: 0.9421 MB / 0.8849 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.9555, allocations: 13.75 MB / 0.8983 GB, free: 202.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.9564, allocations: 1.375 MB / 0.8997 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001646/0.9581, allocations: 384.3 kB / 0.9 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.9588, allocations: 0.6406 MB / 0.9007 GB, free: 201.6 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/0.9588, allocations: 0 / 0.9007 GB, free: 201.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08126/1.04, allocations: 42.98 MB / 0.9426 GB, free: 182.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/9.338, allocations: 22.92 kB / 0.9426 GB, free: 182.4 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)