Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001405/0.001405, allocations: 103.1 kB / 16.27 MB, free: 5.965 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.001483/0.001483, allocations: 191 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.883/1.883, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.625/0.8682, allocations: 187.3 MB / 0.9669 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.8879, allocations: 13.04 MB / 0.9796 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.8893, allocations: 31.81 kB / 0.9797 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.8911, allocations: 425.2 kB / 0.9801 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.8945, allocations: 1.159 MB / 0.9812 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.8966, allocations: 0.6839 MB / 0.9819 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.8993, allocations: 1.993 MB / 0.9838 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.9007, allocations: 0.8437 MB / 0.9846 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004499/0.9052, allocations: 1.81 MB / 0.9864 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.9074, allocations: 0.665 MB / 0.9871 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002872/0.9077, allocations: 80 kB / 0.9871 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.9098, allocations: 0.8614 MB / 0.988 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005785/0.9104, allocations: 391 kB / 0.9883 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.9115, allocations: 0.4899 MB / 0.9888 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.9143, allocations: 1.472 MB / 0.9903 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.9143, allocations: 0 / 0.9903 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9143, allocations: 3.938 kB / 0.9903 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.9143, allocations: 0 / 0.9903 GB, free: 7.395 MB / 0.7794 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.00189/0.9162, allocations: 1.23 MB / 0.9915 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9163, allocations: 12.03 kB / 0.9915 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.9175, allocations: 218.6 kB / 0.9917 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.9184, allocations: 0.6377 MB / 0.9923 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.9185, allocations: 58 kB / 0.9924 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.9186, allocations: 76 kB / 0.9924 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.9199, allocations: 0.9288 MB / 0.9933 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.9199, allocations: 4 kB / 0.9934 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/0.92, allocations: 39.97 kB / 0.9934 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.9201, allocations: 29.25 kB / 0.9934 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.921, allocations: 0.6216 MB / 0.994 GB, free: 3.371 MB / 0.7794 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.004223/0.9252, allocations: 4.589 MB / 0.9985 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.9259, allocations: 0.5403 MB / 0.999 GB, free: 13.9 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.9263, allocations: 248.5 kB / 0.9993 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.9265, allocations: 97.09 kB / 0.9994 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.9265, allocations: 46.5 kB / 0.9994 GB, free: 13.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.9265, allocations: 0 / 0.9994 GB, free: 13.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002743/0.9293, allocations: 1.583 MB / 1.001 GB, free: 11.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.9293, allocations: 107.4 kB / 1.001 GB, free: 11.71 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.9302, allocations: 0.7115 MB / 1.002 GB, free: 10.99 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.9302, allocations: 33.7 kB / 1.002 GB, free: 10.95 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.9305, allocations: 424 kB / 1.002 GB, free: 10.53 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.9307, allocations: 161.7 kB / 1.002 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.9308, allocations: 118.2 kB / 1.002 GB, free: 10.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.931, allocations: 389.2 kB / 1.003 GB, free: 9.863 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.9313, allocations: 181.2 kB / 1.003 GB, free: 9.688 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.9318, allocations: 425.7 kB / 1.003 GB, free: 9.176 MB / 0.795 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.002119/0.9339, allocations: 1.16 MB / 1.005 GB, free: 7.914 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.9339, allocations: 0 / 1.005 GB, free: 7.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001004/0.9349, allocations: 0.6754 MB / 1.005 GB, free: 7.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.9349, allocations: 19.86 kB / 1.005 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.935, allocations: 4 kB / 1.005 GB, free: 7.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.935, allocations: 12 kB / 1.005 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.9355, allocations: 121.1 kB / 1.005 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.9355, allocations: 18.52 kB / 1.005 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.9361, allocations: 28.48 kB / 1.005 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.9361, allocations: 24 kB / 1.005 GB, free: 7.012 MB / 0.795 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.0003816/0.9365, allocations: 273.6 kB / 1.006 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.9367, allocations: 83 kB / 1.006 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.9368, allocations: 91.58 kB / 1.006 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.9368, allocations: 4 kB / 1.006 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9369, allocations: 0 / 1.006 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006834/0.9375, allocations: 0.7076 MB / 1.007 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.9398, allocations: 1.642 MB / 1.008 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9399, allocations: 4 kB / 1.008 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.9403, allocations: 96.39 kB / 1.008 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.9403, allocations: 15.92 kB / 1.008 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.9404, allocations: 16 kB / 1.008 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.9404, allocations: 8.688 kB / 1.008 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.9404, allocations: 8 kB / 1.008 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.9415, allocations: 0.8809 MB / 1.009 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.9418, allocations: 212.1 kB / 1.009 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.9419, allocations: 15.94 kB / 1.009 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.9424, allocations: 26.67 kB / 1.009 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.9424, allocations: 35.91 kB / 1.009 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.9425, allocations: 23.98 kB / 1.009 GB, free: 2.609 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006536/0.9431, allocations: 0.5048 MB / 1.01 GB, free: 2.109 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9431, allocations: 0 / 1.01 GB, free: 2.109 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007948/0.9439, allocations: 204 kB / 1.01 GB, free: 1.91 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.0004799/0.9444, allocations: 202.7 kB / 1.01 GB, free: 1.727 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009499/0.9454, allocations: 0.5138 MB / 1.011 GB, free: 1.215 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9454, allocations: 0 / 1.011 GB, free: 1.215 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.9457, allocations: 216 kB / 1.011 GB, free: 1.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.9478, allocations: 482 kB / 1.011 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.9505, allocations: 1.715 MB / 1.013 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.9512, allocations: 1.024 MB / 1.014 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.9514, allocations: 71.42 kB / 1.014 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of SimCode: time 1.092e-06/0.9515, allocations: 0 / 1.014 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.02151/0.973, allocations: 12.88 MB / 1.027 GB, free: 1.02 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)