Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 181.9 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 0.5777 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008037/0.0008037, allocations: 95.67 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 9.625 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2669, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8457/1.113, allocations: 170.6 MB / 1.067 GB, free: 4.254 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01753/1.13, allocations: 12.23 MB / 1.079 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/1.132, allocations: 26.34 kB / 1.079 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/1.133, allocations: 291 kB / 1.079 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/1.137, allocations: 0.8866 MB / 1.08 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/1.139, allocations: 0.5427 MB / 1.08 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004481/1.144, allocations: 2.395 MB / 1.083 GB, free: 3.988 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/1.145, allocations: 0.614 MB / 1.083 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005249/1.151, allocations: 1.377 MB / 1.085 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/1.153, allocations: 0.6214 MB / 1.085 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/1.153, allocations: 36.31 kB / 1.085 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/1.155, allocations: 455.8 kB / 1.086 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004658/1.155, allocations: 342.3 kB / 1.086 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/1.156, allocations: 205.3 kB / 1.086 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/1.157, allocations: 1.048 MB / 1.087 GB, free: 3.738 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.157, allocations: 4 kB / 1.087 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.715e-06/1.157, allocations: 0 / 1.087 GB, free: 3.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.608e-05/1.157, allocations: 1.125 kB / 1.087 GB, free: 3.734 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00232/1.16, allocations: 1.064 MB / 1.088 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.16, allocations: 9.531 kB / 1.088 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/1.16, allocations: 126.3 kB / 1.089 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.161, allocations: 213.2 kB / 1.089 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.162, allocations: 0.6191 MB / 1.089 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/1.162, allocations: 62.08 kB / 1.089 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.163, allocations: 82.81 kB / 1.09 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/1.164, allocations: 0.929 MB / 1.09 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/1.165, allocations: 4.875 kB / 1.09 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/1.165, allocations: 31.03 kB / 1.09 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-05/1.165, allocations: 32.2 kB / 1.09 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/1.166, allocations: 0.6128 MB / 1.091 GB, free: 18.41 MB / 0.7136 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.006341/1.172, allocations: 4.604 MB / 1.096 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/1.173, allocations: 0.5359 MB / 1.096 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/1.174, allocations: 238.3 kB / 1.096 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/1.174, allocations: 102.6 kB / 1.096 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/1.174, allocations: 43.89 kB / 1.096 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.476e-06/1.174, allocations: 1.859 kB / 1.096 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002952/1.177, allocations: 1.567 MB / 1.098 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/1.177, allocations: 113.6 kB / 1.098 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/1.178, allocations: 0.7096 MB / 1.099 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/1.178, allocations: 35.42 kB / 1.099 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/1.178, allocations: 410.2 kB / 1.099 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/1.179, allocations: 168.4 kB / 1.099 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/1.179, allocations: 12.88 kB / 1.099 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002008/1.179, allocations: 384.2 kB / 1.1 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/1.179, allocations: 183.8 kB / 1.1 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/1.179, allocations: 415.3 kB / 1.1 GB, free: 13.12 MB / 0.7136 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.001518/1.181, allocations: 0.6524 MB / 1.101 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.181, allocations: 2.969 kB / 1.101 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009908/1.182, allocations: 0.6524 MB / 1.102 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.182, allocations: 6.75 kB / 1.102 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.182, allocations: 5.781 kB / 1.102 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/1.182, allocations: 18.08 kB / 1.102 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/1.183, allocations: 130.5 kB / 1.102 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/1.183, allocations: 12.38 kB / 1.102 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/1.183, allocations: 51.61 kB / 1.102 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/1.183, allocations: 28.22 kB / 1.102 GB, free: 12.91 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000443/1.184, allocations: 269.1 kB / 1.102 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/1.184, allocations: 91.78 kB / 1.102 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/1.184, allocations: 86.45 kB / 1.102 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/1.184, allocations: 3.375 kB / 1.102 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.184, allocations: 11.3 kB / 1.102 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007445/1.185, allocations: 0.6929 MB / 1.103 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/1.187, allocations: 1.635 MB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.187, allocations: 9.938 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/1.188, allocations: 102.2 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.188, allocations: 9.594 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/1.188, allocations: 17.16 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/1.188, allocations: 11.56 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.188, allocations: 5.875 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/1.189, allocations: 0.8838 MB / 1.106 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/1.189, allocations: 203.1 kB / 1.106 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.311e-05/1.19, allocations: 14.56 kB / 1.106 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/1.19, allocations: 48.89 kB / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/1.19, allocations: 45.23 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/1.19, allocations: 18 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005975/1.191, allocations: 0.5065 MB / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.191, allocations: 2.906 kB / 1.106 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007732/1.192, allocations: 204.3 kB / 1.107 GB, free: 11.1 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/1.193, allocations: 1.514 MB / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007601/1.194, allocations: 469.9 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.194, allocations: 5.438 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/1.194, allocations: 210.4 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.197, allocations: 458 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/1.204, allocations: 4.997 MB / 1.114 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/1.205, allocations: 1.032 MB / 1.115 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009307/1.206, allocations: 202.9 kB / 1.115 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/1.206, allocations: 293.7 kB / 1.116 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/1.206, allocations: 0 / 1.116 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/1.257, allocations: 21.68 MB / 1.137 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/1.257, allocations: 265.6 kB / 1.137 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.808/4.065, allocations: 0 / 1.137 GB, free: 15.42 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)