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.00694/0.00694, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001974/0.001974, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8088/0.8088, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 64.16 kB / 0.5858 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1431, allocations: 81.02 MB / 0.6649 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5379/0.6811, allocations: 222.6 MB / 0.8822 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.6987, allocations: 12.1 MB / 0.8941 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.7008, allocations: 75.56 kB / 0.8941 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.7028, allocations: 0.8538 MB / 0.895 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006887/0.7097, allocations: 2.861 MB / 0.8978 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.7131, allocations: 1.427 MB / 0.8992 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005436/0.7186, allocations: 4.451 MB / 0.9035 GB, free: 10.08 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.7207, allocations: 1.698 MB / 0.9052 GB, free: 8.344 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.7259, allocations: 2.46 MB / 0.9076 GB, free: 5.879 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.7287, allocations: 1.557 MB / 0.9091 GB, free: 4.344 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.729, allocations: 180 kB / 0.9093 GB, free: 4.168 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.7333, allocations: 2.167 MB / 0.9114 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.734, allocations: 0.7012 MB / 0.9121 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.7352, allocations: 1.042 MB / 0.9131 GB, free: 252 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004841/0.7401, allocations: 3.352 MB / 0.9164 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7401, allocations: 0 / 0.9164 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7401, allocations: 0 / 0.9164 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.301e-05/0.7402, allocations: 4 kB / 0.9164 GB, free: 12.88 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.003856/0.744, allocations: 2.328 MB / 0.9186 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.7441, allocations: 13.11 kB / 0.9186 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002562/0.7443, allocations: 207.7 kB / 0.9188 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/0.7473, allocations: 0.5061 MB / 0.9193 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.7494, allocations: 1.354 MB / 0.9207 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.934e-05/0.7495, allocations: 106.8 kB / 0.9208 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.7497, allocations: 152 kB / 0.9209 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.7524, allocations: 1.749 MB / 0.9226 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.7524, allocations: 11.92 kB / 0.9226 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.7526, allocations: 63.98 kB / 0.9227 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/0.7526, allocations: 54.55 kB / 0.9227 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.7548, allocations: 1.392 MB / 0.9241 GB, free: 4.711 MB / 0.6856 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.008397/0.7633, allocations: 7.299 MB / 0.9312 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.7648, allocations: 1.019 MB / 0.9322 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.7657, allocations: 0.6911 MB / 0.9329 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.766, allocations: 118.2 kB / 0.933 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.766, allocations: 51.5 kB / 0.9331 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009996/0.767, allocations: 314.9 kB / 0.9334 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=106): time 2.725e-06/0.767, allocations: 4 kB / 0.9334 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112): time 0.007899/0.7749, allocations: 4.516 MB / 0.9378 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/0.7751, allocations: 167.2 kB / 0.9379 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.7766, allocations: 1.267 MB / 0.9392 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/0.7767, allocations: 53.7 kB / 0.9392 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/0.7773, allocations: 0.7059 MB / 0.9399 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.7777, allocations: 428.3 kB / 0.9403 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.7782, allocations: 263.5 kB / 0.9406 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7784, allocations: 357.9 kB / 0.9409 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008892/0.7793, allocations: 0.5269 MB / 0.9414 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.7805, allocations: 0.8557 MB / 0.9423 GB, free: 1.379 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.0116/0.7921, allocations: 4.784 MB / 0.9469 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.7921, allocations: 0 / 0.9469 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002744/0.7949, allocations: 1.629 MB / 0.9485 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.7949, allocations: 8 kB / 0.9485 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.795, allocations: 24.02 kB / 0.9485 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.795, allocations: 16 kB / 0.9486 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7961, allocations: 291.5 kB / 0.9488 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/0.7962, allocations: 21.42 kB / 0.9489 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.7974, allocations: 47.97 kB / 0.9489 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.7975, allocations: 59.98 kB / 0.949 GB, free: 10.34 MB / 0.7169 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.0007277/0.7983, allocations: 421.9 kB / 0.9494 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.7986, allocations: 174.9 kB / 0.9495 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.8008, allocations: 1.298 MB / 0.9508 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.8008, allocations: 12 kB / 0.9508 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8008, allocations: 4 kB / 0.9508 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001644/0.8025, allocations: 1.237 MB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005718/0.8082, allocations: 3.758 MB / 0.9557 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.8082, allocations: 12 kB / 0.9557 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.8094, allocations: 255.7 kB / 0.956 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/0.8094, allocations: 16 kB / 0.956 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.8095, allocations: 39.98 kB / 0.956 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-05/0.8095, allocations: 19.94 kB / 0.956 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.8095, allocations: 11.94 kB / 0.956 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.8125, allocations: 2.243 MB / 0.9582 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.8131, allocations: 363.9 kB / 0.9586 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.8133, allocations: 35.98 kB / 0.9586 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.8143, allocations: 55.66 kB / 0.9587 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8145, allocations: 108.3 kB / 0.9588 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.8146, allocations: 51.98 kB / 0.9588 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001134/0.8157, allocations: 0.849 MB / 0.9596 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8158, allocations: 0 / 0.9596 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00125/0.817, allocations: 432 kB / 0.9601 GB, free: 14.53 MB / 0.7325 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.003658/0.8207, allocations: 2.9 MB / 0.9629 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.8228, allocations: 1.259 MB / 0.9641 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.8228, allocations: 4 kB / 0.9641 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007955/0.8236, allocations: 0.5446 MB / 0.9646 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/0.8276, allocations: 0.9285 MB / 0.9656 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.8448, allocations: 12.73 MB / 0.978 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.8458, allocations: 1.372 MB / 0.9793 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00131/0.8472, allocations: 381.3 kB / 0.9797 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/0.8481, allocations: 0.6399 MB / 0.9803 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of SimCode: time 7.12e-07/0.8481, allocations: 4 kB / 0.9803 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07944/0.9276, allocations: 43.29 MB / 1.023 GB, free: 14.08 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.97, allocations: 19.03 kB / 1.023 GB, free: 14.06 MB / 0.795 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)