Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.651/1.651, allocations: 205.1 MB / 222.5 MB, free: 4.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.746/1.746, allocations: 292.3 MB / 0.549 GB, free: 12.76 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: 69.69 kB / 0.6722 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3079, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8225/1.13, allocations: 190.3 MB / 0.97 GB, free: 312 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01012/1.141, allocations: 5.631 MB / 0.9755 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/1.143, allocations: 34.56 kB / 0.9755 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/1.145, allocations: 0.5715 MB / 0.976 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/1.151, allocations: 1.593 MB / 0.9776 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004327/1.155, allocations: 1.198 MB / 0.9788 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00493/1.16, allocations: 2.486 MB / 0.9812 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/1.162, allocations: 0.994 MB / 0.9822 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/1.165, allocations: 1.027 MB / 0.9832 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/1.167, allocations: 0.8199 MB / 0.984 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/1.168, allocations: 102.3 kB / 0.9841 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/1.171, allocations: 1.523 MB / 0.9856 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008324/1.172, allocations: 499 kB / 0.986 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/1.173, allocations: 0.6165 MB / 0.9866 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004116/1.177, allocations: 2.101 MB / 0.9887 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.177, allocations: 4 kB / 0.9887 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/1.177, allocations: 0 / 0.9887 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.865e-05/1.178, allocations: 0 / 0.9887 GB, free: 9.84 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002447/1.18, allocations: 1.474 MB / 0.9901 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.18, allocations: 10.69 kB / 0.9901 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/1.182, allocations: 325.1 kB / 0.9905 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/1.183, allocations: 0.7999 MB / 0.9912 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/1.184, allocations: 65.25 kB / 0.9913 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.184, allocations: 92.72 kB / 0.9914 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.185, allocations: 1.068 MB / 0.9924 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.186, allocations: 0 / 0.9924 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/1.186, allocations: 38.19 kB / 0.9925 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/1.186, allocations: 36.09 kB / 0.9925 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/1.187, allocations: 0.829 MB / 0.9933 GB, free: 6.828 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.005802/1.193, allocations: 4.248 MB / 0.9975 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/1.194, allocations: 378.8 kB / 0.9978 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/1.194, allocations: 213 kB / 0.998 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/1.194, allocations: 95.59 kB / 0.9981 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.194, allocations: 44.19 kB / 0.9982 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.004e-06/1.194, allocations: 4 kB / 0.9982 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002763/1.197, allocations: 1.331 MB / 0.9995 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.197, allocations: 58.19 kB / 0.9995 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.199, allocations: 0.9926 MB / 1 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/1.199, allocations: 39.73 kB / 1.001 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/1.199, allocations: 494 kB / 1.001 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/1.199, allocations: 145.1 kB / 1.001 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/1.199, allocations: 119.1 kB / 1.001 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.2, allocations: 332.8 kB / 1.002 GB, free: 376 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/1.2, allocations: 234.4 kB / 1.002 GB, free: 264 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/1.201, allocations: 433.3 kB / 1.002 GB, free: 15.89 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/1.203, allocations: 1.215 MB / 1.003 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.203, allocations: 0 / 1.003 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001475/1.205, allocations: 0.7673 MB / 1.004 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.205, allocations: 7.781 kB / 1.004 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.205, allocations: 8.5 kB / 1.004 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/1.205, allocations: 13.84 kB / 1.004 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/1.205, allocations: 136.7 kB / 1.004 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/1.205, allocations: 23.03 kB / 1.004 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/1.206, allocations: 59.55 kB / 1.004 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/1.206, allocations: 28.56 kB / 1.004 GB, free: 14.62 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0005855/1.207, allocations: 318.1 kB / 1.005 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/1.207, allocations: 100.6 kB / 1.005 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/1.207, allocations: 102.3 kB / 1.005 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/1.207, allocations: 8.781 kB / 1.005 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.207, allocations: 0 / 1.005 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006743/1.208, allocations: 0.6767 MB / 1.006 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/1.21, allocations: 1.578 MB / 1.007 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/1.21, allocations: 4.312 kB / 1.007 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/1.211, allocations: 84.42 kB / 1.007 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/1.211, allocations: 4.938 kB / 1.007 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/1.211, allocations: 19.62 kB / 1.007 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.211, allocations: 5.219 kB / 1.007 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.211, allocations: 12.81 kB / 1.007 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.212, allocations: 0.8511 MB / 1.008 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/1.212, allocations: 236.9 kB / 1.008 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.212, allocations: 20.25 kB / 1.008 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/1.213, allocations: 39.09 kB / 1.008 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/1.213, allocations: 39.89 kB / 1.008 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/1.213, allocations: 29.77 kB / 1.008 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00106/1.214, allocations: 0.7032 MB / 1.009 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.31e-07/1.214, allocations: 0 / 1.009 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001065/1.215, allocations: 255.2 kB / 1.009 GB, free: 11.2 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * 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.0005548/1.216, allocations: 203.5 kB / 1.01 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.217, allocations: 0.497 MB / 1.01 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.217, allocations: 6.344 kB / 1.01 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/1.218, allocations: 186.9 kB / 1.01 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.221, allocations: 0.6156 MB / 1.011 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/1.223, allocations: 1.824 MB / 1.013 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/1.224, allocations: 1.094 MB / 1.014 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008098/1.225, allocations: 245 kB / 1.014 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.225, allocations: 75.25 kB / 1.014 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/1.225, allocations: 0 / 1.014 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of Templates: time 0.03295/1.258, allocations: 19.79 MB / 1.033 GB, free: 8.871 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)