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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001013/0.001013, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.186/1.186, allocations: 205.1 MB / 222 MB, free: 4.734 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.555/1.555, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001374/0.001374, allocations: 68.36 kB / 0.6709 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2015, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5247/0.7263, allocations: 188.1 MB / 0.9664 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007084/0.7334, allocations: 5.702 MB / 0.972 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.7343, allocations: 32.62 kB / 0.972 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.7356, allocations: 0.4895 MB / 0.9725 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.7385, allocations: 1.515 MB / 0.974 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.7408, allocations: 1.066 MB / 0.975 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002929/0.7437, allocations: 3.463 MB / 0.9784 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.7446, allocations: 0.854 MB / 0.9793 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.746, allocations: 0.8904 MB / 0.9801 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.7474, allocations: 0.8475 MB / 0.981 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.7475, allocations: 56.41 kB / 0.981 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.7501, allocations: 1.709 MB / 0.9827 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.7505, allocations: 454.8 kB / 0.9831 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.751, allocations: 0.569 MB / 0.9837 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.753, allocations: 2.129 MB / 0.9857 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.753, allocations: 0 / 0.9857 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.61e-07/0.753, allocations: 0 / 0.9857 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.753, allocations: 0 / 0.9857 GB, free: 4.336 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.002002/0.755, allocations: 1.475 MB / 0.9872 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.7551, allocations: 12.25 kB / 0.9872 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.7552, allocations: 138.3 kB / 0.9873 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.757, allocations: 326.3 kB / 0.9876 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.758, allocations: 0.7619 MB / 0.9884 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.7583, allocations: 121 kB / 0.9885 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7584, allocations: 95.03 kB / 0.9886 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.7599, allocations: 1.062 MB / 0.9896 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.76, allocations: 0 / 0.9896 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/0.7601, allocations: 38.47 kB / 0.9897 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.7601, allocations: 36.17 kB / 0.9897 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.7615, allocations: 0.8373 MB / 0.9905 GB, free: 18.95 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.004225/0.7658, allocations: 4.049 MB / 0.9945 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.7662, allocations: 386.9 kB / 0.9948 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.7665, allocations: 212 kB / 0.995 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.7666, allocations: 102.9 kB / 0.9951 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.7667, allocations: 39.28 kB / 0.9952 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.7667, allocations: 0 / 0.9952 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38): time 0.001937/0.7686, allocations: 1.323 MB / 0.9965 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.7687, allocations: 62.97 kB / 0.9965 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.7697, allocations: 0.9818 MB / 0.9975 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.7698, allocations: 43.27 kB / 0.9975 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.77, allocations: 497.5 kB / 0.998 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.7701, allocations: 134.5 kB / 0.9981 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.7703, allocations: 118.3 kB / 0.9982 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7704, allocations: 328 kB / 0.9986 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.7708, allocations: 237.6 kB / 0.9988 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.7712, allocations: 417 kB / 0.9992 GB, free: 13.4 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.002005/0.7732, allocations: 1.181 MB / 1 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7733, allocations: 4.75 kB / 1 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001181/0.7744, allocations: 0.7478 MB / 1.001 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7745, allocations: 12.02 kB / 1.001 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.7745, allocations: 8.531 kB / 1.001 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7745, allocations: 8.812 kB / 1.001 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.775, allocations: 141.8 kB / 1.001 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.775, allocations: 10.41 kB / 1.001 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.7759, allocations: 86.66 kB / 1.001 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.7759, allocations: 23.05 kB / 1.001 GB, free: 12.48 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0003344/0.7763, allocations: 322.8 kB / 1.002 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.7764, allocations: 94.84 kB / 1.002 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.7765, allocations: 107.9 kB / 1.002 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7766, allocations: 3.375 kB / 1.002 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7766, allocations: 0 / 1.002 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006241/0.7772, allocations: 0.6814 MB / 1.003 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.7793, allocations: 1.584 MB / 1.004 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.7793, allocations: 5.25 kB / 1.004 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.7797, allocations: 92.34 kB / 1.004 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.7797, allocations: 7.688 kB / 1.004 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.7797, allocations: 9.594 kB / 1.004 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.7798, allocations: 16.67 kB / 1.004 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7798, allocations: 2.781 kB / 1.004 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.7807, allocations: 0.8404 MB / 1.005 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.781, allocations: 234.9 kB / 1.005 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.7811, allocations: 24.83 kB / 1.005 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.7818, allocations: 46.06 kB / 1.005 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.7819, allocations: 40.75 kB / 1.005 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.782, allocations: 26.11 kB / 1.005 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008391/0.7828, allocations: 0.7055 MB / 1.006 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7828, allocations: 0 / 1.006 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006791/0.7835, allocations: 249.1 kB / 1.006 GB, free: 9.613 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.001429/0.7849, allocations: 1.499 MB / 1.008 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000775/0.7857, allocations: 493.4 kB / 1.008 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7857, allocations: 2.969 kB / 1.008 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.786, allocations: 189.6 kB / 1.008 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.7883, allocations: 0.5922 MB / 1.009 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.7979, allocations: 8.161 MB / 1.017 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.7985, allocations: 1.094 MB / 1.018 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007301/0.7992, allocations: 246.9 kB / 1.018 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.7996, allocations: 341 kB / 1.019 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of SimCode: time 4.1e-07/0.7997, allocations: 0 / 1.019 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.725/3.524, allocations: 26.6 MB / 1.045 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/3.525, allocations: 263.9 kB / 1.045 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/6.098, allocations: 0 / 1.045 GB, free: 12.01 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)