Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001472/0.001472, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 275 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9729/0.9729, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 100 kB / 0.5947 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1627, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5228/0.6855, allocations: 184.8 MB / 0.8601 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.7023, allocations: 12.97 MB / 0.8728 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.7041, allocations: 29.19 kB / 0.8728 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.7057, allocations: 360.8 kB / 0.8731 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.7089, allocations: 1.081 MB / 0.8742 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.7108, allocations: 0.6455 MB / 0.8748 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002742/0.7135, allocations: 2.016 MB / 0.8768 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.7147, allocations: 0.808 MB / 0.8776 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.7196, allocations: 1.772 MB / 0.8793 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.722, allocations: 0.7069 MB / 0.88 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.7222, allocations: 80.12 kB / 0.8801 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.7243, allocations: 0.907 MB / 0.881 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.7247, allocations: 393.5 kB / 0.8813 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.7253, allocations: 0.4963 MB / 0.8818 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.7279, allocations: 1.538 MB / 0.8833 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7279, allocations: 6.5 kB / 0.8833 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7279, allocations: 0 / 0.8833 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.7279, allocations: 0 / 0.8833 GB, free: 3.684 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001845/0.7298, allocations: 1.228 MB / 0.8845 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7298, allocations: 13.81 kB / 0.8845 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.7311, allocations: 214.3 kB / 0.8847 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009812/0.7321, allocations: 0.6401 MB / 0.8854 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.7321, allocations: 67.42 kB / 0.8854 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7322, allocations: 73.94 kB / 0.8855 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.7336, allocations: 0.9364 MB / 0.8864 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.7336, allocations: 11.91 kB / 0.8864 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.7337, allocations: 33.47 kB / 0.8865 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.7337, allocations: 30.94 kB / 0.8865 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.7346, allocations: 0.622 MB / 0.8871 GB, free: 1.031 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.004591/0.7392, allocations: 4.58 MB / 0.8916 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.74, allocations: 0.548 MB / 0.8921 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.7403, allocations: 239 kB / 0.8923 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.7405, allocations: 107.1 kB / 0.8924 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.7405, allocations: 38.81 kB / 0.8925 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/0.7405, allocations: 4 kB / 0.8925 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002749/0.7433, allocations: 1.589 MB / 0.894 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.7434, allocations: 107.4 kB / 0.8941 GB, free: 11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.7442, allocations: 0.7143 MB / 0.8948 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.7443, allocations: 42.89 kB / 0.8949 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.7447, allocations: 418 kB / 0.8953 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.7448, allocations: 157.7 kB / 0.8954 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.745, allocations: 124.7 kB / 0.8955 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7451, allocations: 329.3 kB / 0.8959 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.7454, allocations: 184 kB / 0.896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.7458, allocations: 418 kB / 0.8964 GB, free: 9.059 MB / 0.6075 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.748, allocations: 1.182 MB / 0.8976 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7481, allocations: 4 kB / 0.8976 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001065/0.7491, allocations: 0.6637 MB / 0.8982 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.7492, allocations: 11.94 kB / 0.8982 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7492, allocations: 8.781 kB / 0.8983 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7492, allocations: 8 kB / 0.8983 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.7497, allocations: 131.8 kB / 0.8984 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.7497, allocations: 15.92 kB / 0.8984 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.7504, allocations: 51.81 kB / 0.8985 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.7504, allocations: 28 kB / 0.8985 GB, free: 6.848 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003794/0.7508, allocations: 275.5 kB / 0.8987 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.751, allocations: 86.91 kB / 0.8988 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.7512, allocations: 97.78 kB / 0.8989 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.7512, allocations: 4 kB / 0.8989 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7512, allocations: 0 / 0.8989 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006873/0.7519, allocations: 0.695 MB / 0.8996 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.7544, allocations: 1.64 MB / 0.9012 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.7544, allocations: 4 kB / 0.9012 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.7549, allocations: 95.89 kB / 0.9013 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.7549, allocations: 12.42 kB / 0.9013 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.755, allocations: 19.94 kB / 0.9013 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.755, allocations: 11.94 kB / 0.9013 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.755, allocations: 4 kB / 0.9013 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.7562, allocations: 0.8764 MB / 0.9022 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.7566, allocations: 204.1 kB / 0.9024 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7567, allocations: 19.94 kB / 0.9024 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.7572, allocations: 35.97 kB / 0.9024 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.7573, allocations: 40.64 kB / 0.9025 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.7573, allocations: 23.94 kB / 0.9025 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007047/0.758, allocations: 0.5107 MB / 0.903 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.758, allocations: 3.938 kB / 0.903 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008135/0.7589, allocations: 200 kB / 0.9032 GB, free: 1.734 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004908/0.7594, allocations: 205.7 kB / 0.9034 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008897/0.7603, allocations: 0.5235 MB / 0.9039 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7603, allocations: 0 / 0.9039 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.7606, allocations: 210.2 kB / 0.9041 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.7626, allocations: 480.8 kB / 0.9046 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.7654, allocations: 1.957 MB / 0.9065 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.7661, allocations: 1.036 MB / 0.9075 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007877/0.7669, allocations: 199 kB / 0.9077 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.767, allocations: 59.44 kB / 0.9077 GB, free: 13 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.7671, allocations: 0 / 0.9077 GB, free: 13 MB / 0.6231 GB Notification: Performance of Templates: time 0.02486/0.7919, allocations: 14.99 MB / 0.9224 GB, free: 14.3 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)