Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 104 kB / 16.27 MB, free: 6.359 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.001493/0.001493, allocations: 192.7 kB / 17.2 MB, free: 5.953 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8482/0.8482, allocations: 135.1 MB / 426.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 64.14 kB / 0.506 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4228, allocations: 80.9 MB / 0.585 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6644/1.087, allocations: 242.4 MB / 0.8217 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02498/1.112, allocations: 15.88 MB / 0.8372 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004032/1.116, allocations: 78.78 kB / 0.8373 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00354/1.12, allocations: 1.178 MB / 0.8384 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/1.132, allocations: 3.813 MB / 0.8422 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005928/1.138, allocations: 1.8 MB / 0.8439 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008762/1.147, allocations: 5.243 MB / 0.849 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003002/1.15, allocations: 1.664 MB / 0.8507 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007254/1.157, allocations: 2.607 MB / 0.8532 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004832/1.162, allocations: 1.706 MB / 0.8549 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007188/1.163, allocations: 175.6 kB / 0.8551 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007299/1.17, allocations: 2.701 MB / 0.8577 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/1.171, allocations: 0.7696 MB / 0.8584 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002183/1.173, allocations: 1.151 MB / 0.8596 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006836/1.18, allocations: 3.519 MB / 0.863 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.18, allocations: 0 / 0.863 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/1.18, allocations: 0 / 0.863 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.43e-05/1.18, allocations: 0 / 0.863 GB, free: 2.57 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004674/1.185, allocations: 2.499 MB / 0.8654 GB, free: 48 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.185, allocations: 9.109 kB / 0.8655 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/1.188, allocations: 0.5063 MB / 0.8659 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/1.19, allocations: 1.273 MB / 0.8672 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/1.19, allocations: 178.2 kB / 0.8674 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/1.191, allocations: 155.6 kB / 0.8675 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/1.193, allocations: 1.741 MB / 0.8692 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/1.193, allocations: 2.438 kB / 0.8692 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/1.194, allocations: 67.05 kB / 0.8693 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.325e-05/1.194, allocations: 58.69 kB / 0.8693 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/1.196, allocations: 1.368 MB / 0.8707 GB, free: 10.65 MB / 0.6075 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.00948/1.206, allocations: 8.246 MB / 0.8787 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/1.207, allocations: 0.8951 MB / 0.8796 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008349/1.208, allocations: 0.5366 MB / 0.8801 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/1.209, allocations: 325.9 kB / 0.8804 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.209, allocations: 47.5 kB / 0.8805 GB, free: 0 / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.255e-06/1.209, allocations: 0 / 0.8805 GB, free: 0 / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.00661/1.215, allocations: 3.098 MB / 0.8835 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/1.215, allocations: 64.41 kB / 0.8836 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.217, allocations: 1.271 MB / 0.8848 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.733e-05/1.217, allocations: 49.7 kB / 0.8848 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/1.218, allocations: 0.8082 MB / 0.8856 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.218, allocations: 371.7 kB / 0.886 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/1.218, allocations: 226.8 kB / 0.8862 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.218, allocations: 357.9 kB / 0.8866 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/1.219, allocations: 445.8 kB / 0.887 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.22, allocations: 0.8324 MB / 0.8878 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/1.222, allocations: 1.248 MB / 0.889 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.222, allocations: 0 / 0.889 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002415/1.225, allocations: 1.404 MB / 0.8904 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.225, allocations: 8 kB / 0.8904 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.225, allocations: 8 kB / 0.8904 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/1.225, allocations: 20 kB / 0.8904 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.226, allocations: 274.4 kB / 0.8907 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.71e-05/1.226, allocations: 29.05 kB / 0.8907 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.227, allocations: 63.95 kB / 0.8908 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/1.227, allocations: 55.98 kB / 0.8908 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001337/1.229, allocations: 0.7649 MB / 0.8916 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001021/1.23, allocations: 0.8246 MB / 0.8924 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001771/1.231, allocations: 1.237 MB / 0.8936 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.644e-06/1.231, allocations: 4.719 kB / 0.8936 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002292/1.234, allocations: 1.389 MB / 0.8949 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.234, allocations: 10.5 kB / 0.8949 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.234, allocations: 8 kB / 0.895 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.234, allocations: 16 kB / 0.895 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.235, allocations: 273.8 kB / 0.8952 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/1.235, allocations: 25.05 kB / 0.8953 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.236, allocations: 76.09 kB / 0.8953 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/1.236, allocations: 52 kB / 0.8954 GB, free: 284 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003434/1.237, allocations: 258 kB / 0.8956 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.237, allocations: 162.1 kB / 0.8958 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/1.239, allocations: 1.158 MB / 0.8969 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.239, allocations: 8 kB / 0.8969 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.239, allocations: 0 / 0.8969 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/1.241, allocations: 1.078 MB / 0.898 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/1.245, allocations: 2.779 MB / 0.9007 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.245, allocations: 0 / 0.9007 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.246, allocations: 254 kB / 0.9009 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.246, allocations: 4 kB / 0.9009 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/1.247, allocations: 27.98 kB / 0.901 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/1.247, allocations: 20.16 kB / 0.901 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.247, allocations: 2.531 kB / 0.901 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/1.249, allocations: 1.811 MB / 0.9027 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/1.25, allocations: 338.9 kB / 0.9031 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.25, allocations: 24 kB / 0.9031 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.251, allocations: 62.75 kB / 0.9032 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.251, allocations: 63.36 kB / 0.9032 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/1.251, allocations: 35.98 kB / 0.9032 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00105/1.253, allocations: 0.8465 MB / 0.9041 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/1.253, allocations: 0 / 0.9041 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001899/1.254, allocations: 0.7656 MB / 0.9048 GB, free: 6.473 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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.0005713/1.255, allocations: 265.7 kB / 0.9051 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003729/1.259, allocations: 2.006 MB / 0.907 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.259, allocations: 0 / 0.907 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000847/1.26, allocations: 0.5207 MB / 0.9075 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/1.264, allocations: 0.9164 MB / 0.9084 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/1.269, allocations: 3.568 MB / 0.9119 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/1.27, allocations: 1.445 MB / 0.9133 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/1.271, allocations: 139.4 kB / 0.9135 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/1.271, allocations: 0 / 0.9135 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.0401/1.311, allocations: 26.56 MB / 0.9394 GB, free: 3.387 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)