Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 101.7 kB / 15.98 MB, free: 6.301 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.002028/0.002028, allocations: 198.1 kB / 16.91 MB, free: 6.16 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.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7762/0.7762, allocations: 122.9 MB / 413.6 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.05 kB / 0.4906 GB, free: 7.871 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4219, allocations: 77.91 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5686/0.9906, allocations: 207.2 MB / 0.769 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01329/1.004, allocations: 9.805 MB / 0.7786 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/1.006, allocations: 53.97 kB / 0.7787 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/1.008, allocations: 0.6777 MB / 0.7793 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00646/1.015, allocations: 2.648 MB / 0.7819 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/1.018, allocations: 1.272 MB / 0.7831 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00501/1.023, allocations: 4.061 MB / 0.7871 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/1.024, allocations: 1.3 MB / 0.7884 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/1.027, allocations: 1.369 MB / 0.7897 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/1.029, allocations: 1.312 MB / 0.791 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002362/1.03, allocations: 148.2 kB / 0.7911 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004667/1.034, allocations: 2.499 MB / 0.7936 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007205/1.035, allocations: 0.6128 MB / 0.7942 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/1.036, allocations: 0.8663 MB / 0.795 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005075/1.041, allocations: 3.144 MB / 0.7981 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.041, allocations: 1.594 kB / 0.7981 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/1.041, allocations: 0 / 0.7981 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.759e-05/1.041, allocations: 0.875 kB / 0.7981 GB, free: 0.8594 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003178/1.045, allocations: 1.895 MB / 0.7999 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.045, allocations: 12.33 kB / 0.8 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/1.048, allocations: 491.9 kB / 0.8004 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/1.05, allocations: 1.057 MB / 0.8015 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/1.05, allocations: 81.11 kB / 0.8015 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/1.05, allocations: 110.9 kB / 0.8016 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.052, allocations: 1.165 MB / 0.8028 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/1.052, allocations: 10.48 kB / 0.8028 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.052, allocations: 46.38 kB / 0.8028 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/1.052, allocations: 39.48 kB / 0.8029 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/1.054, allocations: 1.072 MB / 0.8039 GB, free: 15.36 MB / 0.5919 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.006272/1.06, allocations: 4.204 MB / 0.808 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/1.061, allocations: 0.7915 MB / 0.8088 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/1.062, allocations: 483 kB / 0.8093 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/1.062, allocations: 295.7 kB / 0.8095 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.062, allocations: 43.88 kB / 0.8096 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 2.685e-06/1.062, allocations: 0.75 kB / 0.8096 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89): time 0.005428/1.068, allocations: 2.839 MB / 0.8124 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.068, allocations: 70.23 kB / 0.8124 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.069, allocations: 0.9738 MB / 0.8134 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/1.069, allocations: 46.17 kB / 0.8134 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/1.069, allocations: 0.5371 MB / 0.8139 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/1.07, allocations: 317.3 kB / 0.8142 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.07, allocations: 161.4 kB / 0.8144 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.07, allocations: 336.1 kB / 0.8147 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/1.071, allocations: 340.6 kB / 0.815 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/1.071, allocations: 489.3 kB / 0.8155 GB, free: 11.53 MB / 0.5919 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 (bou.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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 (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/1.077, allocations: 3.053 MB / 0.8185 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/1.077, allocations: 0.75 kB / 0.8185 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001582/1.079, allocations: 1.01 MB / 0.8195 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.079, allocations: 7.969 kB / 0.8195 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.079, allocations: 5.469 kB / 0.8195 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.079, allocations: 6.469 kB / 0.8195 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/1.08, allocations: 184 kB / 0.8197 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.08, allocations: 7.75 kB / 0.8197 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.081, allocations: 78.84 kB / 0.8198 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/1.081, allocations: 38.69 kB / 0.8198 GB, free: 10.96 MB / 0.5919 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 volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005542/1.081, allocations: 389.3 kB / 0.8202 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/1.082, allocations: 122.3 kB / 0.8203 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/1.082, allocations: 148.2 kB / 0.8204 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.082, allocations: 7.625 kB / 0.8204 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/1.082, allocations: 2.906 kB / 0.8204 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001469/1.083, allocations: 1.089 MB / 0.8215 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/1.088, allocations: 3.044 MB / 0.8245 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.088, allocations: 12.97 kB / 0.8245 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/1.089, allocations: 167.7 kB / 0.8246 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003187/1.089, allocations: 94.75 kB / 0.8247 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/1.089, allocations: 33.17 kB / 0.8248 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/1.092, allocations: 3.099 MB / 0.8278 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.092, allocations: 14.66 kB / 0.8278 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/1.094, allocations: 1.736 MB / 0.8295 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/1.095, allocations: 307.8 kB / 0.8298 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/1.095, allocations: 36.67 kB / 0.8298 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/1.096, allocations: 68.11 kB / 0.8299 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.096, allocations: 85.66 kB / 0.83 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-05/1.096, allocations: 49.59 kB / 0.83 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008852/1.097, allocations: 0.6952 MB / 0.8307 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.097, allocations: 3 kB / 0.8307 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00109/1.098, allocations: 376.6 kB / 0.8311 GB, free: 2.555 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004522/1.098, allocations: 239 kB / 0.8313 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00154/1.1, allocations: 0.9602 MB / 0.8322 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.1, allocations: 0 / 0.8322 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008716/1.101, allocations: 0.6773 MB / 0.8329 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.105, allocations: 0.9312 MB / 0.8338 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/1.109, allocations: 3.264 MB / 0.837 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.109, allocations: 1.249 MB / 0.8382 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001213/1.111, allocations: 339 kB / 0.8385 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.111, allocations: 99.42 kB / 0.8386 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/1.111, allocations: 0 / 0.8386 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Templates: time 0.04788/1.159, allocations: 28.23 MB / 0.8662 GB, free: 14.99 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)