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.001574/0.001574, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001922/0.001922, allocations: 193.7 kB / 16.13 MB, free: 6.672 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.516/1.516, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.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.761/1.761, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001372/0.001372, allocations: 65.19 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2952, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8188/1.114, allocations: 185 MB / 0.9634 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01927/1.133, allocations: 13.08 MB / 0.9761 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/1.136, allocations: 28.38 kB / 0.9762 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/1.138, allocations: 354.5 kB / 0.9765 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004526/1.142, allocations: 1.091 MB / 0.9776 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/1.145, allocations: 0.6265 MB / 0.9782 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004328/1.149, allocations: 2.762 MB / 0.9809 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/1.151, allocations: 0.7192 MB / 0.9816 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009256/1.16, allocations: 1.65 MB / 0.9832 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/1.164, allocations: 0.6949 MB / 0.9839 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005062/1.165, allocations: 45.38 kB / 0.9839 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/1.168, allocations: 0.9806 MB / 0.9849 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008655/1.169, allocations: 352.8 kB / 0.9852 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001981/1.171, allocations: 470.5 kB / 0.9857 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004069/1.175, allocations: 1.49 MB / 0.9871 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.175, allocations: 0 / 0.9871 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/1.175, allocations: 4 kB / 0.9871 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.599e-05/1.175, allocations: 5.094 kB / 0.9871 GB, free: 4.344 MB / 0.7325 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.003667/1.179, allocations: 1.229 MB / 0.9883 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.179, allocations: 8.094 kB / 0.9883 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/1.18, allocations: 218 kB / 0.9885 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.181, allocations: 0.6307 MB / 0.9892 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/1.181, allocations: 59.81 kB / 0.9892 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.182, allocations: 81.31 kB / 0.9893 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/1.183, allocations: 0.929 MB / 0.9902 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.183, allocations: 5.188 kB / 0.9902 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/1.183, allocations: 32.78 kB / 0.9902 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/1.183, allocations: 31.16 kB / 0.9903 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.184, allocations: 0.6139 MB / 0.9909 GB, free: 19.01 MB / 0.7481 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.004448/1.189, allocations: 4.575 MB / 0.9953 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/1.189, allocations: 0.5422 MB / 0.9959 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/1.189, allocations: 247.7 kB / 0.9961 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/1.19, allocations: 104.7 kB / 0.9962 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.19, allocations: 39.38 kB / 0.9962 GB, free: 15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/1.19, allocations: 3.984 kB / 0.9962 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002691/1.192, allocations: 1.585 MB / 0.9978 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/1.193, allocations: 108.4 kB / 0.9979 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/1.193, allocations: 0.7046 MB / 0.9986 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/1.193, allocations: 41.05 kB / 0.9986 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/1.194, allocations: 418.5 kB / 0.999 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.194, allocations: 164.3 kB / 0.9992 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.194, allocations: 118.1 kB / 0.9993 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.194, allocations: 385.4 kB / 0.9997 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/1.194, allocations: 184.6 kB / 0.9998 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/1.195, allocations: 415.7 kB / 1 GB, free: 12.35 MB / 0.7481 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.00215/1.197, allocations: 1.171 MB / 1.001 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.197, allocations: 2.75 kB / 1.001 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00111/1.198, allocations: 0.6644 MB / 1.002 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.198, allocations: 11.12 kB / 1.002 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.198, allocations: 6.344 kB / 1.002 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/1.198, allocations: 10.09 kB / 1.002 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/1.199, allocations: 128 kB / 1.002 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.199, allocations: 10.66 kB / 1.002 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/1.199, allocations: 53.45 kB / 1.002 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/1.199, allocations: 31.62 kB / 1.002 GB, free: 11.42 MB / 0.7481 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.000569/1.2, allocations: 271.3 kB / 1.003 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.2, allocations: 87.08 kB / 1.003 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/1.2, allocations: 95.27 kB / 1.003 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.2, allocations: 4.906 kB / 1.003 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.2, allocations: 0 / 1.003 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000846/1.201, allocations: 0.7055 MB / 1.003 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/1.204, allocations: 1.643 MB / 1.005 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.204, allocations: 1.906 kB / 1.005 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/1.204, allocations: 107.5 kB / 1.005 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/1.204, allocations: 8.312 kB / 1.005 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/1.204, allocations: 12.5 kB / 1.005 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.204, allocations: 10.62 kB / 1.005 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.204, allocations: 8.844 kB / 1.005 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/1.206, allocations: 0.8954 MB / 1.006 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/1.206, allocations: 202.8 kB / 1.006 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.206, allocations: 20.38 kB / 1.006 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/1.207, allocations: 41.42 kB / 1.006 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/1.207, allocations: 40.84 kB / 1.006 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/1.207, allocations: 22.39 kB / 1.006 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006974/1.208, allocations: 0.5019 MB / 1.007 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.208, allocations: 2.531 kB / 1.007 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008596/1.208, allocations: 203 kB / 1.007 GB, free: 8.617 MB / 0.7481 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.0005219/1.209, allocations: 200.3 kB / 1.007 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007888/1.21, allocations: 474.8 kB / 1.008 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.21, allocations: 3.375 kB / 1.008 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/1.21, allocations: 214.7 kB / 1.008 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.212, allocations: 450.1 kB / 1.008 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/1.215, allocations: 1.929 MB / 1.01 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008396/1.216, allocations: 1.031 MB / 1.011 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008232/1.217, allocations: 201.3 kB / 1.011 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/1.217, allocations: 67.42 kB / 1.011 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/1.217, allocations: 0 / 1.011 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of Templates: time 0.02714/1.244, allocations: 14.46 MB / 1.026 GB, free: 15.36 MB / 0.7637 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)