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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008475/0.0008475, allocations: 91.84 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.006137/0.006137, allocations: 169.6 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.32/1.32, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005035/0.0005036, allocations: 15.47 kB / 0.6744 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1918, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5252/0.7171, allocations: 182.6 MB / 0.9663 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.7298, allocations: 12.9 MB / 0.9789 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.7311, allocations: 26.91 kB / 0.9789 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.7322, allocations: 348 kB / 0.9793 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.7347, allocations: 1.095 MB / 0.9803 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.7361, allocations: 0.6237 MB / 0.981 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.7384, allocations: 2.765 MB / 0.9837 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008381/0.7393, allocations: 0.6943 MB / 0.9843 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.7423, allocations: 1.627 MB / 0.9859 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.7435, allocations: 0.6606 MB / 0.9866 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/0.7436, allocations: 33.59 kB / 0.9866 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.7451, allocations: 0.9632 MB / 0.9875 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.7454, allocations: 338.4 kB / 0.9879 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.7458, allocations: 467.1 kB / 0.9883 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.7472, allocations: 1.471 MB / 0.9897 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.7472, allocations: 0 / 0.9897 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7472, allocations: 1.344 kB / 0.9897 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.7472, allocations: 0 / 0.9897 GB, free: 10.66 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.001361/0.7486, allocations: 1.047 MB / 0.9908 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.7486, allocations: 8.406 kB / 0.9908 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.7487, allocations: 126.1 kB / 0.9909 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.7498, allocations: 220.7 kB / 0.9911 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.7506, allocations: 0.6367 MB / 0.9917 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.7506, allocations: 56.81 kB / 0.9918 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/0.7507, allocations: 83 kB / 0.9919 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.7518, allocations: 0.934 MB / 0.9928 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.7519, allocations: 0 / 0.9928 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.7519, allocations: 39.19 kB / 0.9928 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.752, allocations: 30.06 kB / 0.9928 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008468/0.7528, allocations: 0.6202 MB / 0.9934 GB, free: 8.043 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.003432/0.7563, allocations: 4.578 MB / 0.9979 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.7569, allocations: 0.5383 MB / 0.9984 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.7572, allocations: 251.2 kB / 0.9987 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.7573, allocations: 97.75 kB / 0.9988 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.7574, allocations: 40.25 kB / 0.9988 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.7574, allocations: 3.984 kB / 0.9988 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002275/0.7597, allocations: 1.586 MB / 1 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.7597, allocations: 108.6 kB / 1 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.7604, allocations: 0.7103 MB / 1.001 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.7605, allocations: 39.8 kB / 1.001 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.7607, allocations: 421.2 kB / 1.002 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.7608, allocations: 154.7 kB / 1.002 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.7609, allocations: 53.12 kB / 1.002 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.761, allocations: 386.1 kB / 1.002 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.7613, allocations: 189.2 kB / 1.002 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.7617, allocations: 418.2 kB / 1.003 GB, free: 248 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.00191/0.7636, allocations: 1.166 MB / 1.004 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7636, allocations: 2.781 kB / 1.004 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008351/0.7645, allocations: 0.6734 MB / 1.005 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7645, allocations: 11 kB / 1.005 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7645, allocations: 5.938 kB / 1.005 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.7645, allocations: 15.09 kB / 1.005 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.7649, allocations: 120.8 kB / 1.005 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.7649, allocations: 18.73 kB / 1.005 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.7655, allocations: 54.64 kB / 1.005 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.7655, allocations: 26.06 kB / 1.005 GB, free: 15.03 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.0002913/0.7658, allocations: 274.5 kB / 1.005 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.766, allocations: 85.69 kB / 1.005 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.7661, allocations: 88.28 kB / 1.005 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7661, allocations: 5.094 kB / 1.005 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7662, allocations: 6.922 kB / 1.005 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005989/0.7668, allocations: 0.7064 MB / 1.006 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.7687, allocations: 1.635 MB / 1.008 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7688, allocations: 2.781 kB / 1.008 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.7692, allocations: 100.9 kB / 1.008 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7692, allocations: 8.156 kB / 1.008 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.7692, allocations: 16 kB / 1.008 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.7692, allocations: 10.09 kB / 1.008 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7692, allocations: 2.531 kB / 1.008 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/0.7702, allocations: 0.8976 MB / 1.009 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.7704, allocations: 213.7 kB / 1.009 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.7705, allocations: 20.05 kB / 1.009 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.7709, allocations: 35.64 kB / 1.009 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.771, allocations: 40.48 kB / 1.009 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.771, allocations: 20.06 kB / 1.009 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000482/0.7715, allocations: 0.5045 MB / 1.009 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7715, allocations: 2.5 kB / 1.009 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006091/0.7721, allocations: 194.6 kB / 1.01 GB, free: 11.66 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.001411/0.7736, allocations: 1.533 MB / 1.011 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.7742, allocations: 477.3 kB / 1.011 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.7742, allocations: 7.719 kB / 1.011 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.7745, allocations: 212.3 kB / 1.012 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.7768, allocations: 471.4 kB / 1.012 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.7845, allocations: 7.219 MB / 1.019 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.7851, allocations: 1.028 MB / 1.02 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.7857, allocations: 203.7 kB / 1.02 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.7861, allocations: 291.5 kB / 1.021 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/0.7861, allocations: 0 / 1.021 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.488/3.274, allocations: 21.08 MB / 1.041 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/3.274, allocations: 281.9 kB / 1.042 GB, free: 3.621 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/6.008, allocations: 0 / 1.042 GB, free: 3.621 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)