Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8007/0.8007, allocations: 143.4 MB / 159.2 MB, free: 4.914 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 194.7 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001134, allocations: 103.7 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 275.9 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 83.88 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3571, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6131/0.9702, allocations: 207.6 MB / 0.9707 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02106/0.9913, allocations: 9.906 MB / 0.9803 GB, free: 13.75 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.9947, allocations: 46.56 kB / 0.9804 GB, free: 13.75 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.9981, allocations: 0.6635 MB / 0.981 GB, free: 13.61 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/1.01, allocations: 2.637 MB / 0.9836 GB, free: 12.62 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/1.016, allocations: 1.233 MB / 0.9848 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00886/1.025, allocations: 5.615 MB / 0.9903 GB, free: 8.965 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/1.027, allocations: 1.115 MB / 0.9914 GB, free: 8.301 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/1.03, allocations: 1.181 MB / 0.9925 GB, free: 7.746 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004856/1.035, allocations: 1.274 MB / 0.9938 GB, free: 7.148 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000466/1.036, allocations: 67.78 kB / 0.9938 GB, free: 7.148 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.047, allocations: 2.757 MB / 0.9965 GB, free: 5.883 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/1.048, allocations: 0.5378 MB / 0.9971 GB, free: 5.551 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003333/1.052, allocations: 0.7659 MB / 0.9978 GB, free: 5.105 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.062, allocations: 3.077 MB / 1.001 GB, free: 2.984 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.062, allocations: 0 / 1.001 GB, free: 2.984 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.533e-06/1.062, allocations: 0 / 1.001 GB, free: 2.984 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.119e-05/1.062, allocations: 0 / 1.001 GB, free: 2.984 MB / 0.573 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.005645/1.068, allocations: 1.882 MB / 1.003 GB, free: 1.059 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.068, allocations: 12.03 kB / 1.003 GB, free: 1.047 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/1.073, allocations: 490.8 kB / 1.003 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/1.077, allocations: 1.043 MB / 1.004 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/1.077, allocations: 86.14 kB / 1.004 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/1.077, allocations: 114.2 kB / 1.004 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/1.08, allocations: 1.145 MB / 1.005 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/1.081, allocations: 7.938 kB / 1.005 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/1.081, allocations: 46.89 kB / 1.006 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/1.081, allocations: 46.12 kB / 1.006 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/1.084, allocations: 1.062 MB / 1.007 GB, free: 12.96 MB / 0.5886 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.01163/1.095, allocations: 4.527 MB / 1.011 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.097, allocations: 0.6428 MB / 1.012 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/1.098, allocations: 422 kB / 1.012 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/1.099, allocations: 291 kB / 1.012 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/1.099, allocations: 47.06 kB / 1.012 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=65): time 3.888e-06/1.099, allocations: 4 kB / 1.012 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=65): time 0.004702/1.104, allocations: 1.333 MB / 1.014 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/1.104, allocations: 59.97 kB / 1.014 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.106, allocations: 1.048 MB / 1.015 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/1.106, allocations: 41.7 kB / 1.015 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005957/1.107, allocations: 0.5761 MB / 1.015 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/1.107, allocations: 241.9 kB / 1.016 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/1.107, allocations: 154.5 kB / 1.016 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.108, allocations: 334 kB / 1.016 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/1.108, allocations: 309.8 kB / 1.016 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.109, allocations: 0.5077 MB / 1.017 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.111, allocations: 0.8272 MB / 1.018 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.111, allocations: 4 kB / 1.018 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002529/1.114, allocations: 0.9647 MB / 1.019 GB, free: 120 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.114, allocations: 8 kB / 1.019 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/1.114, allocations: 8.031 kB / 1.019 GB, free: 104 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.114, allocations: 8 kB / 1.019 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.115, allocations: 167.8 kB / 1.019 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.103e-05/1.115, allocations: 15.92 kB / 1.019 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/1.117, allocations: 134.8 kB / 1.019 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.118, allocations: 36 kB / 1.019 GB, free: 15.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (99): * Single equations (assignments): 99 * 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.0009191/1.119, allocations: 373.5 kB / 1.019 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/1.119, allocations: 118.6 kB / 1.019 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/1.119, allocations: 139.1 kB / 1.02 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.119, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.119, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002107/1.122, allocations: 0.9428 MB / 1.02 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/1.128, allocations: 2.316 MB / 1.023 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/1.128, allocations: 3.938 kB / 1.023 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.129, allocations: 127.9 kB / 1.023 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/1.13, allocations: 102 kB / 1.023 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/1.13, allocations: 16 kB / 1.023 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/1.134, allocations: 2.866 MB / 1.026 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.134, allocations: 4 kB / 1.026 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/1.155, allocations: 9.275 MB / 1.035 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.157, allocations: 299.4 kB / 1.035 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.157, allocations: 20.16 kB / 1.035 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.159, allocations: 67.8 kB / 1.035 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.159, allocations: 56.25 kB / 1.035 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.159, allocations: 27.98 kB / 1.035 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001823/1.161, allocations: 0.7396 MB / 1.036 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.755e-06/1.161, allocations: 0 / 1.036 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003364/1.164, allocations: 0.6203 MB / 1.037 GB, free: 12.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,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 (61): * Single equations (assignments): 59 * 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.0007396/1.165, allocations: 234 kB / 1.037 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.167, allocations: 0.7185 MB / 1.038 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.167, allocations: 8.188 kB / 1.038 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/1.168, allocations: 0.5816 MB / 1.038 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006992/1.175, allocations: 0.8417 MB / 1.039 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/1.184, allocations: 3.639 MB / 1.042 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.185, allocations: 1.248 MB / 1.044 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00286/1.188, allocations: 338.6 kB / 1.044 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/1.189, allocations: 99.42 kB / 1.044 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/1.189, allocations: 0 / 1.044 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of Templates: time 0.07861/1.267, allocations: 28.21 MB / 1.072 GB, free: 8.957 MB / 0.6511 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)