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.008555/0.008555, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001649/0.001649, allocations: 194 kB / 16.68 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.386/1.386, allocations: 222.9 MB / 240.4 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.8092/0.8092, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.19 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1943, allocations: 80.93 MB / 0.6646 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6695/0.8639, allocations: 187.8 MB / 0.8481 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.881, allocations: 10.75 MB / 0.8586 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.8827, allocations: 40.91 kB / 0.8586 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.8846, allocations: 0.5008 MB / 0.8591 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006981/0.8916, allocations: 2.656 MB / 0.8617 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00607/0.8977, allocations: 2.462 MB / 0.8641 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003866/0.9016, allocations: 2.775 MB / 0.8668 GB, free: 128 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.9031, allocations: 0.7844 MB / 0.8676 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.9054, allocations: 1.032 MB / 0.8686 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.9081, allocations: 1.051 MB / 0.8696 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.9085, allocations: 100 kB / 0.8697 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006129/0.9146, allocations: 3.013 MB / 0.8727 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008048/0.9155, allocations: 442.8 kB / 0.8731 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.9169, allocations: 0.5833 MB / 0.8737 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00793/0.9249, allocations: 2.969 MB / 0.8766 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9249, allocations: 0 / 0.8766 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9249, allocations: 0 / 0.8766 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.138e-05/0.925, allocations: 0 / 0.8766 GB, free: 6.129 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.005782/0.9308, allocations: 1.674 MB / 0.8782 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.9309, allocations: 9.109 kB / 0.8782 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.9331, allocations: 298.4 kB / 0.8785 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.9351, allocations: 0.8351 MB / 0.8793 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.9352, allocations: 53.3 kB / 0.8793 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.9354, allocations: 63.98 kB / 0.8794 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.9375, allocations: 0.9883 MB / 0.8804 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.9376, allocations: 4 kB / 0.8804 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/0.9377, allocations: 27.98 kB / 0.8804 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.9378, allocations: 81.83 kB / 0.8805 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.9402, allocations: 1.011 MB / 0.8815 GB, free: 0.9805 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.007651/0.9478, allocations: 3.563 MB / 0.8849 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.949, allocations: 0.6537 MB / 0.8856 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.9496, allocations: 370.4 kB / 0.8859 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.9499, allocations: 194.8 kB / 0.8861 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.95, allocations: 39.12 kB / 0.8862 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 3.186e-06/0.95, allocations: 4 kB / 0.8862 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.002161/0.9522, allocations: 1.029 MB / 0.8872 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.9523, allocations: 115.2 kB / 0.8873 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.9535, allocations: 0.8019 MB / 0.8881 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.9536, allocations: 41.7 kB / 0.8881 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.954, allocations: 420.1 kB / 0.8885 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.9542, allocations: 220.8 kB / 0.8887 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.9545, allocations: 146.6 kB / 0.8889 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9547, allocations: 337.9 kB / 0.8892 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.9553, allocations: 340.7 kB / 0.8895 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.956, allocations: 469.6 kB / 0.8899 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.9572, allocations: 0.7704 MB / 0.8907 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.9572, allocations: 4 kB / 0.8907 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001695/0.9589, allocations: 0.9297 MB / 0.8916 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.959, allocations: 5.562 kB / 0.8916 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.959, allocations: 4 kB / 0.8916 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.959, allocations: 4 kB / 0.8916 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.9598, allocations: 148.9 kB / 0.8918 GB, free: 6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.9598, allocations: 7.938 kB / 0.8918 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.9607, allocations: 87.09 kB / 0.8919 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.9608, allocations: 24 kB / 0.8919 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008836/0.9617, allocations: 0.537 MB / 0.8924 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007167/0.9624, allocations: 455.4 kB / 0.8928 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.9635, allocations: 0.7408 MB / 0.8936 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.9635, allocations: 3.938 kB / 0.8936 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001538/0.9651, allocations: 0.8794 MB / 0.8944 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9651, allocations: 8 kB / 0.8944 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9651, allocations: 3.984 kB / 0.8944 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.9651, allocations: 8 kB / 0.8944 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.9658, allocations: 149 kB / 0.8946 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.9658, allocations: 11.94 kB / 0.8946 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.9666, allocations: 63.97 kB / 0.8947 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.9667, allocations: 31.98 kB / 0.8947 GB, free: 2.914 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.0002577/0.967, allocations: 224.1 kB / 0.8949 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.9672, allocations: 86.97 kB / 0.895 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.9687, allocations: 0.8085 MB / 0.8958 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.9688, allocations: 12 kB / 0.8958 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9688, allocations: 7.938 kB / 0.8958 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.9699, allocations: 0.7399 MB / 0.8965 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.9734, allocations: 2.089 MB / 0.8986 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.9734, allocations: 4 kB / 0.8986 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.9741, allocations: 140.2 kB / 0.8987 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.9741, allocations: 4 kB / 0.8987 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/0.9742, allocations: 19.98 kB / 0.8987 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/0.9742, allocations: 11.94 kB / 0.8987 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9742, allocations: 7.938 kB / 0.8987 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.9762, allocations: 1.399 MB / 0.9001 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.9766, allocations: 247.8 kB / 0.9003 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.9768, allocations: 19.98 kB / 0.9004 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.9774, allocations: 23.98 kB / 0.9004 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.9776, allocations: 52.27 kB / 0.9004 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.9776, allocations: 20 kB / 0.9004 GB, free: 12.79 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007592/0.9784, allocations: 0.5576 MB / 0.901 GB, free: 12.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9784, allocations: 0 / 0.901 GB, free: 12.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001923/0.9803, allocations: 0.7489 MB / 0.9017 GB, free: 11.48 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.001569/0.9819, allocations: 0.5481 MB / 0.9023 GB, free: 10.94 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.9841, allocations: 1.183 MB / 0.9034 GB, free: 9.754 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.9841, allocations: 0 / 0.9034 GB, free: 9.754 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.9847, allocations: 378.3 kB / 0.9038 GB, free: 9.387 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.9871, allocations: 0.532 MB / 0.9043 GB, free: 8.867 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.9903, allocations: 1.882 MB / 0.9061 GB, free: 6.914 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/0.9911, allocations: 1.077 MB / 0.9072 GB, free: 5.801 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001336/0.9925, allocations: 418.3 kB / 0.9076 GB, free: 5.391 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.9928, allocations: 75.42 kB / 0.9077 GB, free: 5.32 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.9928, allocations: 0 / 0.9077 GB, free: 5.32 MB / 0.67 GB Notification: Performance of Templates: time 0.04/1.033, allocations: 23.04 MB / 0.9302 GB, free: 14.47 MB / 0.7012 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)