Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.001265/0.001265, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.838/0.838, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.39 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1684, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6826/0.851, allocations: 187.9 MB / 0.8487 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01539/0.8665, allocations: 10.75 MB / 0.8592 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.8681, allocations: 40.84 kB / 0.8593 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.8698, allocations: 494.6 kB / 0.8598 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007416/0.8773, allocations: 2.583 MB / 0.8623 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.8839, allocations: 2.455 MB / 0.8647 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.8881, allocations: 2.772 MB / 0.8674 GB, free: 232 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.8897, allocations: 0.78 MB / 0.8681 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.892, allocations: 1.02 MB / 0.8691 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.8945, allocations: 1.065 MB / 0.8702 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.8948, allocations: 96 kB / 0.8703 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006257/0.9011, allocations: 3.001 MB / 0.8732 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007613/0.9019, allocations: 446.8 kB / 0.8736 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.9032, allocations: 0.5833 MB / 0.8742 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006648/0.9099, allocations: 2.965 MB / 0.8771 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9099, allocations: 0 / 0.8771 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9099, allocations: 0 / 0.8771 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.01e-05/0.91, allocations: 0 / 0.8771 GB, free: 6.25 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004368/0.9143, allocations: 1.678 MB / 0.8787 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.9144, allocations: 13.11 kB / 0.8787 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.9165, allocations: 294.4 kB / 0.879 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.918, allocations: 0.8195 MB / 0.8798 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.9181, allocations: 53.3 kB / 0.8799 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.9182, allocations: 75.89 kB / 0.8799 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.9199, allocations: 0.9922 MB / 0.8809 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.9199, allocations: 3.984 kB / 0.8809 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.92, allocations: 31.92 kB / 0.8809 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.776e-05/0.9201, allocations: 77.88 kB / 0.881 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.9218, allocations: 1.007 MB / 0.882 GB, free: 1.102 MB / 0.6387 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.005775/0.9275, allocations: 3.559 MB / 0.8855 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.9286, allocations: 0.6537 MB / 0.8861 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.9291, allocations: 381.6 kB / 0.8865 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.9294, allocations: 194.8 kB / 0.8867 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.9294, allocations: 43.12 kB / 0.8867 GB, free: 12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 4.358e-06/0.9294, allocations: 0 / 0.8867 GB, free: 12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.001882/0.9313, allocations: 1.021 MB / 0.8877 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.9314, allocations: 115.3 kB / 0.8878 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.9324, allocations: 0.8058 MB / 0.8886 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.9325, allocations: 37.7 kB / 0.8886 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.9328, allocations: 428.1 kB / 0.889 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.933, allocations: 220.8 kB / 0.8893 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.9332, allocations: 142.6 kB / 0.8894 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9334, allocations: 337.9 kB / 0.8897 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.9339, allocations: 336.7 kB / 0.89 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/0.9346, allocations: 469.6 kB / 0.8905 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.9357, allocations: 0.7665 MB / 0.8912 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9357, allocations: 0 / 0.8912 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001492/0.9372, allocations: 0.9333 MB / 0.8921 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.9372, allocations: 10.03 kB / 0.8922 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9372, allocations: 4 kB / 0.8922 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.9372, allocations: 4 kB / 0.8922 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.9379, allocations: 147.8 kB / 0.8923 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.938, allocations: 13.11 kB / 0.8923 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.9388, allocations: 79.11 kB / 0.8924 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.9388, allocations: 36.27 kB / 0.8924 GB, free: 6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007812/0.9396, allocations: 0.5369 MB / 0.893 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005896/0.9402, allocations: 455.3 kB / 0.8934 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.9412, allocations: 0.7378 MB / 0.8941 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.663e-06/0.9413, allocations: 7.938 kB / 0.8941 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001415/0.9427, allocations: 0.8787 MB / 0.895 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.9427, allocations: 4 kB / 0.895 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9427, allocations: 4.281 kB / 0.895 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.9427, allocations: 8 kB / 0.895 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.9434, allocations: 147.8 kB / 0.8951 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.9434, allocations: 9.562 kB / 0.8951 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.9441, allocations: 68.84 kB / 0.8952 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.9442, allocations: 24 kB / 0.8952 GB, free: 3.043 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0002203/0.9444, allocations: 228 kB / 0.8954 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.9446, allocations: 90.97 kB / 0.8955 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.946, allocations: 0.8125 MB / 0.8963 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.946, allocations: 7.938 kB / 0.8963 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.946, allocations: 0 / 0.8963 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009897/0.947, allocations: 0.7477 MB / 0.8971 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.9501, allocations: 2.086 MB / 0.8991 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.9501, allocations: 8.062 kB / 0.8991 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.9508, allocations: 139.8 kB / 0.8992 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/0.9508, allocations: 8 kB / 0.8992 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.9508, allocations: 16 kB / 0.8993 GB, free: 14.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.9508, allocations: 5.125 kB / 0.8993 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.9509, allocations: 4 kB / 0.8993 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.9527, allocations: 1.402 MB / 0.9006 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.9531, allocations: 251.8 kB / 0.9009 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.9533, allocations: 16 kB / 0.9009 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.9539, allocations: 23.98 kB / 0.9009 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.954, allocations: 48.33 kB / 0.901 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.9541, allocations: 23.98 kB / 0.901 GB, free: 12.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007334/0.9548, allocations: 0.5576 MB / 0.9015 GB, free: 12.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9548, allocations: 0 / 0.9015 GB, free: 12.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001854/0.9567, allocations: 0.745 MB / 0.9023 GB, free: 11.61 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.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 (64): * Single equations (assignments): 64 * 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.001493/0.9582, allocations: 0.5493 MB / 0.9028 GB, free: 11.06 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.9602, allocations: 1.183 MB / 0.904 GB, free: 9.879 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.9602, allocations: 12.06 kB / 0.904 GB, free: 9.867 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.9608, allocations: 362.1 kB / 0.9043 GB, free: 9.516 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.9633, allocations: 0.5329 MB / 0.9048 GB, free: 8.996 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.9665, allocations: 1.951 MB / 0.9067 GB, free: 6.969 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.9673, allocations: 1.069 MB / 0.9078 GB, free: 5.863 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.9676, allocations: 87.36 kB / 0.9079 GB, free: 5.781 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/0.9676, allocations: 4 kB / 0.9079 GB, free: 5.777 MB / 0.67 GB Notification: Performance of Templates: time 0.02841/0.996, allocations: 18.64 MB / 0.9261 GB, free: 3.254 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)