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.001035/0.001035, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007549/0.007549, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.609/1.609, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.729/1.729, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0009281/0.0009282, allocations: 14.44 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3385, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7874/1.126, allocations: 182.6 MB / 0.9662 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01725/1.143, allocations: 12.92 MB / 0.9788 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/1.145, allocations: 26.31 kB / 0.9788 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/1.147, allocations: 351.3 kB / 0.9792 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/1.152, allocations: 1.087 MB / 0.9802 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/1.154, allocations: 0.6145 MB / 0.9808 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003865/1.158, allocations: 2.767 MB / 0.9835 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/1.159, allocations: 0.7052 MB / 0.9842 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004543/1.164, allocations: 1.625 MB / 0.9858 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/1.166, allocations: 0.6592 MB / 0.9864 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/1.166, allocations: 33.16 kB / 0.9865 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/1.168, allocations: 0.968 MB / 0.9874 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/1.168, allocations: 331.5 kB / 0.9877 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007357/1.169, allocations: 472.5 kB / 0.9882 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/1.171, allocations: 1.47 MB / 0.9896 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/1.171, allocations: 0 / 0.9896 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/1.171, allocations: 0 / 0.9896 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.314e-05/1.171, allocations: 0 / 0.9896 GB, free: 10.67 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.001862/1.173, allocations: 1.051 MB / 0.9906 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.173, allocations: 7.875 kB / 0.9907 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/1.175, allocations: 218.3 kB / 0.9909 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.176, allocations: 0.6297 MB / 0.9915 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/1.176, allocations: 65.67 kB / 0.9915 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.176, allocations: 80.59 kB / 0.9916 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.177, allocations: 0.9288 MB / 0.9925 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/1.177, allocations: 10.02 kB / 0.9925 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/1.177, allocations: 37.09 kB / 0.9926 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/1.177, allocations: 28.72 kB / 0.9926 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009849/1.178, allocations: 0.6151 MB / 0.9932 GB, free: 8.164 MB / 0.7325 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.004601/1.183, allocations: 4.581 MB / 0.9977 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007573/1.184, allocations: 0.5424 MB / 0.9982 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/1.184, allocations: 247.6 kB / 0.9984 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/1.184, allocations: 97.47 kB / 0.9985 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.184, allocations: 37.47 kB / 0.9986 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 4.859e-06/1.184, allocations: 2.969 kB / 0.9986 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002816/1.187, allocations: 1.588 MB / 1 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/1.187, allocations: 108.6 kB / 1 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/1.188, allocations: 0.7091 MB / 1.001 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/1.188, allocations: 36.27 kB / 1.001 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/1.189, allocations: 421.2 kB / 1.001 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/1.189, allocations: 162.4 kB / 1.002 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/1.189, allocations: 56.5 kB / 1.002 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.189, allocations: 386.3 kB / 1.002 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/1.189, allocations: 182.2 kB / 1.002 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/1.19, allocations: 418.5 kB / 1.003 GB, free: 364 kB / 0.7325 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.002207/1.192, allocations: 1.164 MB / 1.004 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/1.192, allocations: 3.25 kB / 1.004 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001069/1.193, allocations: 0.6614 MB / 1.004 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.193, allocations: 16.89 kB / 1.004 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.193, allocations: 11.91 kB / 1.004 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.193, allocations: 8.531 kB / 1.004 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/1.194, allocations: 131 kB / 1.004 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.194, allocations: 11.97 kB / 1.004 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/1.194, allocations: 52.72 kB / 1.005 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/1.194, allocations: 30.28 kB / 1.005 GB, free: 15.14 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 sytem: 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.0004612/1.195, allocations: 273.5 kB / 1.005 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/1.195, allocations: 89.58 kB / 1.005 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/1.195, allocations: 88.38 kB / 1.005 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.195, allocations: 5.375 kB / 1.005 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/1.195, allocations: 6.625 kB / 1.005 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007653/1.196, allocations: 0.7082 MB / 1.006 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/1.199, allocations: 1.639 MB / 1.007 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.199, allocations: 5.219 kB / 1.007 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/1.199, allocations: 101.1 kB / 1.007 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/1.199, allocations: 9.688 kB / 1.007 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/1.199, allocations: 12 kB / 1.007 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/1.199, allocations: 13.72 kB / 1.007 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.199, allocations: 5.062 kB / 1.007 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.2, allocations: 0.8866 MB / 1.008 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/1.201, allocations: 213.8 kB / 1.008 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.201, allocations: 15.94 kB / 1.008 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/1.201, allocations: 39.75 kB / 1.009 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/1.202, allocations: 39.56 kB / 1.009 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/1.202, allocations: 21.92 kB / 1.009 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007092/1.202, allocations: 0.5033 MB / 1.009 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/1.202, allocations: 0 / 1.009 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008255/1.203, allocations: 205.2 kB / 1.009 GB, free: 11.77 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.0005535/1.204, allocations: 201.4 kB / 1.009 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008191/1.205, allocations: 474.7 kB / 1.01 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.205, allocations: 3.938 kB / 1.01 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/1.205, allocations: 215.8 kB / 1.01 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.208, allocations: 457 kB / 1.011 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/1.211, allocations: 2.006 MB / 1.013 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/1.211, allocations: 1.03 MB / 1.014 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008237/1.212, allocations: 192.8 kB / 1.014 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/1.212, allocations: 63.61 kB / 1.014 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/1.212, allocations: 2.906 kB / 1.014 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of Templates: time 0.02894/1.241, allocations: 14.41 MB / 1.028 GB, free: 1.648 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: