Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 152 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.001107/0.001107, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.83 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1324, allocations: 80.19 MB / 0.5802 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4499/0.5823, allocations: 222.6 MB / 0.7975 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.5998, allocations: 12.1 MB / 0.8093 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.6021, allocations: 71.62 kB / 0.8094 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.6045, allocations: 0.8615 MB / 0.8103 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007112/0.6116, allocations: 2.85 MB / 0.813 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.6156, allocations: 1.424 MB / 0.8144 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005777/0.6214, allocations: 4.431 MB / 0.8188 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.6242, allocations: 1.705 MB / 0.8204 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005668/0.6299, allocations: 2.457 MB / 0.8228 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.6329, allocations: 1.563 MB / 0.8244 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007095/0.6336, allocations: 180 kB / 0.8245 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.6385, allocations: 2.159 MB / 0.8266 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.6397, allocations: 0.7012 MB / 0.8273 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002143/0.6418, allocations: 1.05 MB / 0.8283 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.6476, allocations: 3.268 MB / 0.8315 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6476, allocations: 0 / 0.8315 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6476, allocations: 0 / 0.8315 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001002/0.6477, allocations: 4 kB / 0.8315 GB, free: 1.23 MB / 0.6387 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.005035/0.6528, allocations: 2.277 MB / 0.8338 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.6528, allocations: 12.02 kB / 0.8338 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000399/0.6533, allocations: 214.8 kB / 0.834 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/0.6569, allocations: 0.4894 MB / 0.8345 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.6593, allocations: 1.255 MB / 0.8357 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.6594, allocations: 106.8 kB / 0.8358 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.6596, allocations: 155.9 kB / 0.8359 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.6624, allocations: 1.756 MB / 0.8376 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.6624, allocations: 7.938 kB / 0.8377 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.6626, allocations: 64 kB / 0.8377 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.6626, allocations: 50.53 kB / 0.8378 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.6649, allocations: 1.388 MB / 0.8391 GB, free: 9.227 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.008664/0.6736, allocations: 7.325 MB / 0.8463 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.675, allocations: 1.014 MB / 0.8473 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/0.6759, allocations: 0.6945 MB / 0.8479 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.6762, allocations: 122.2 kB / 0.8481 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.6762, allocations: 47.56 kB / 0.8481 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001052/0.6773, allocations: 302.6 kB / 0.8484 GB, free: 15.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 4.729e-06/0.6773, allocations: 0 / 0.8484 GB, free: 15.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.007725/0.685, allocations: 4.44 MB / 0.8527 GB, free: 10.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.6851, allocations: 171.3 kB / 0.8529 GB, free: 10.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.6866, allocations: 1.259 MB / 0.8541 GB, free: 9.281 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.945e-05/0.6867, allocations: 53.7 kB / 0.8542 GB, free: 9.223 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.6872, allocations: 0.7084 MB / 0.8549 GB, free: 8.508 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.6875, allocations: 398.2 kB / 0.8552 GB, free: 8.113 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.6879, allocations: 259.4 kB / 0.8555 GB, free: 7.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.688, allocations: 361.9 kB / 0.8558 GB, free: 7.496 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000793/0.6888, allocations: 0.5192 MB / 0.8563 GB, free: 6.977 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.6898, allocations: 0.8592 MB / 0.8572 GB, free: 5.996 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.01105/0.7009, allocations: 4.804 MB / 0.8619 GB, free: 1.043 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.7009, allocations: 4 kB / 0.8619 GB, free: 1.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.2361/0.937, allocations: 1.619 MB / 0.8635 GB, free: 224.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.937, allocations: 7.812 kB / 0.8635 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.937, allocations: 9.062 kB / 0.8635 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.9371, allocations: 21.97 kB / 0.8635 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.9382, allocations: 288.6 kB / 0.8638 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.9382, allocations: 22.17 kB / 0.8638 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.9396, allocations: 44.2 kB / 0.8638 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.9397, allocations: 62.5 kB / 0.8639 GB, free: 224.3 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.0005756/0.9403, allocations: 422.4 kB / 0.8643 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.9406, allocations: 163.6 kB / 0.8644 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.9424, allocations: 1.291 MB / 0.8657 GB, free: 224.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.9424, allocations: 12.69 kB / 0.8657 GB, free: 224.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9424, allocations: 3.812 kB / 0.8657 GB, free: 224.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/0.9436, allocations: 1.241 MB / 0.8669 GB, free: 223.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.9479, allocations: 3.757 MB / 0.8706 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.948, allocations: 11.31 kB / 0.8706 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.949, allocations: 253.7 kB / 0.8709 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.949, allocations: 18.75 kB / 0.8709 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.9491, allocations: 41.64 kB / 0.8709 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.9491, allocations: 16.66 kB / 0.8709 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.9491, allocations: 16.22 kB / 0.8709 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.9513, allocations: 2.218 MB / 0.8731 GB, free: 220.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.9518, allocations: 359 kB / 0.8735 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.952, allocations: 40.89 kB / 0.8735 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.953, allocations: 48.09 kB / 0.8735 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.9532, allocations: 103.5 kB / 0.8736 GB, free: 220.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.9532, allocations: 49.55 kB / 0.8737 GB, free: 220.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008588/0.9541, allocations: 0.853 MB / 0.8745 GB, free: 219.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9541, allocations: 3.672 kB / 0.8745 GB, free: 219.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001129/0.9552, allocations: 436.1 kB / 0.8749 GB, free: 219.7 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.002576/0.9578, allocations: 2.89 MB / 0.8778 GB, free: 217.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.9599, allocations: 1.433 MB / 0.8792 GB, free: 217.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.9599, allocations: 5.875 kB / 0.8792 GB, free: 217.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006373/0.9606, allocations: 0.5519 MB / 0.8797 GB, free: 217.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/0.9643, allocations: 0.9394 MB / 0.8806 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.9781, allocations: 13.73 MB / 0.894 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.9789, allocations: 1.376 MB / 0.8954 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001427/0.9803, allocations: 387 kB / 0.8957 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/0.9811, allocations: 0.6416 MB / 0.8964 GB, free: 207.7 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.9811, allocations: 0 / 0.8964 GB, free: 207.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08159/1.063, allocations: 42.97 MB / 0.9383 GB, free: 191.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.36/10.42, allocations: 14.12 kB / 0.9383 GB, free: 191.6 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)