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.005637/0.005637, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001078/0.001078, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7758/0.7758, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002389, allocations: 63.44 kB / 0.5852 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1628, allocations: 80.93 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6086/0.7714, allocations: 222.6 MB / 0.8815 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.788, allocations: 12.1 MB / 0.8934 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.7907, allocations: 75.56 kB / 0.8934 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.7931, allocations: 0.8889 MB / 0.8943 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.8019, allocations: 2.957 MB / 0.8972 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.8066, allocations: 1.44 MB / 0.8986 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007505/0.8141, allocations: 4.445 MB / 0.9029 GB, free: 10.83 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.8169, allocations: 1.717 MB / 0.9046 GB, free: 9.078 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006203/0.8231, allocations: 2.549 MB / 0.9071 GB, free: 6.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.8257, allocations: 1.559 MB / 0.9086 GB, free: 4.984 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.826, allocations: 176 kB / 0.9088 GB, free: 4.812 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.8305, allocations: 2.175 MB / 0.9109 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007155/0.8312, allocations: 0.6973 MB / 0.9116 GB, free: 1.934 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.8325, allocations: 1.046 MB / 0.9126 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00499/0.8375, allocations: 3.334 MB / 0.9159 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8375, allocations: 4 kB / 0.9159 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8375, allocations: 0 / 0.9159 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.8376, allocations: 0 / 0.9159 GB, free: 13.54 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.003744/0.8413, allocations: 2.28 MB / 0.9181 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.8414, allocations: 13.11 kB / 0.9181 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.8416, allocations: 210.8 kB / 0.9183 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.8445, allocations: 0.4932 MB / 0.9188 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.8465, allocations: 1.337 MB / 0.9201 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.8466, allocations: 107.6 kB / 0.9202 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.8468, allocations: 151.9 kB / 0.9204 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.8494, allocations: 1.753 MB / 0.9221 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.8494, allocations: 7.938 kB / 0.9221 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.8496, allocations: 63.94 kB / 0.9221 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.8496, allocations: 58.53 kB / 0.9222 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.8518, allocations: 1.392 MB / 0.9235 GB, free: 5.438 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.008406/0.8602, allocations: 7.271 MB / 0.9306 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.8618, allocations: 1.02 MB / 0.9316 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009731/0.8628, allocations: 0.6984 MB / 0.9323 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.8631, allocations: 110.1 kB / 0.9324 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.8631, allocations: 51.5 kB / 0.9325 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001245/0.8644, allocations: 310.5 kB / 0.9328 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=106): time 3.768e-06/0.8644, allocations: 0 / 0.9328 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112): time 0.007351/0.8717, allocations: 4.426 MB / 0.9371 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.8718, allocations: 175.3 kB / 0.9373 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.8733, allocations: 1.263 MB / 0.9385 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.052e-05/0.8734, allocations: 49.7 kB / 0.9385 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.8739, allocations: 0.7007 MB / 0.9392 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.8742, allocations: 406.2 kB / 0.9396 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.8746, allocations: 259.4 kB / 0.9399 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8747, allocations: 361.9 kB / 0.9402 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007802/0.8755, allocations: 0.5231 MB / 0.9407 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.8765, allocations: 0.8479 MB / 0.9416 GB, free: 2.254 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.01084/0.8874, allocations: 4.79 MB / 0.9462 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.8874, allocations: 4 kB / 0.9462 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002406/0.8898, allocations: 1.62 MB / 0.9478 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8898, allocations: 12.03 kB / 0.9478 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.8899, allocations: 11.94 kB / 0.9478 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/0.8899, allocations: 16.05 kB / 0.9479 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.891, allocations: 299.5 kB / 0.9481 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/0.891, allocations: 12 kB / 0.9481 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.8922, allocations: 55.86 kB / 0.9482 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.8923, allocations: 59.97 kB / 0.9483 GB, free: 11.21 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.0007063/0.893, allocations: 425.5 kB / 0.9487 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.8933, allocations: 166 kB / 0.9488 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.8953, allocations: 1.287 MB / 0.9501 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.8954, allocations: 12 kB / 0.9501 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.8954, allocations: 7.984 kB / 0.9501 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/0.8969, allocations: 1.237 MB / 0.9513 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005553/0.9024, allocations: 3.766 MB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.9025, allocations: 12.25 kB / 0.955 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.9037, allocations: 255.6 kB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/0.9037, allocations: 12 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.9038, allocations: 43.92 kB / 0.9553 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/0.9038, allocations: 19.94 kB / 0.9553 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.9038, allocations: 15.94 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.9067, allocations: 2.226 MB / 0.9575 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.9075, allocations: 355 kB / 0.9578 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.9078, allocations: 32 kB / 0.9579 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.909, allocations: 59.16 kB / 0.9579 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9092, allocations: 104.3 kB / 0.958 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.9093, allocations: 47.98 kB / 0.9581 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001271/0.9106, allocations: 0.8529 MB / 0.9589 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9106, allocations: 0 / 0.9589 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002064/0.9126, allocations: 432 kB / 0.9593 GB, free: 15.43 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.004237/0.9169, allocations: 2.9 MB / 0.9622 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002691/0.9196, allocations: 1.254 MB / 0.9634 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/0.9196, allocations: 0 / 0.9634 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.9206, allocations: 0.5565 MB / 0.9639 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/0.9251, allocations: 0.9276 MB / 0.9648 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/0.946, allocations: 12.66 MB / 0.9772 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.9475, allocations: 1.376 MB / 0.9785 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00157/0.9491, allocations: 381.3 kB / 0.9789 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.9501, allocations: 0.6438 MB / 0.9795 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of SimCode: time 1.293e-06/0.9502, allocations: 224 / 0.9795 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08506/1.035, allocations: 43.3 MB / 1.022 GB, free: 15.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/16.04, allocations: 15.66 kB / 1.022 GB, free: 15.03 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 & /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)