Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.0009091/0.0009092, allocations: 88.41 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.006019/0.006019, allocations: 171.4 kB / 16.26 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.315/1.315, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.608/1.608, 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.0005056/0.0005056, allocations: 17.52 kB / 0.6744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1973, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5178/0.7152, allocations: 182.4 MB / 0.9661 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.7265, allocations: 12.87 MB / 0.9787 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.7273, allocations: 30.12 kB / 0.9787 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.7282, allocations: 329.3 kB / 0.9791 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.7299, allocations: 0.8681 MB / 0.9799 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.7313, allocations: 0.6169 MB / 0.9805 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.733, allocations: 2.101 MB / 0.9826 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006428/0.7336, allocations: 0.531 MB / 0.9831 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.7365, allocations: 1.577 MB / 0.9846 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009912/0.7375, allocations: 0.4961 MB / 0.9851 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.7376, allocations: 23.56 kB / 0.9851 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.7388, allocations: 0.9664 MB / 0.9861 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.739, allocations: 246.5 kB / 0.9863 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.7393, allocations: 375 kB / 0.9867 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.7404, allocations: 1.157 MB / 0.9878 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7404, allocations: 4 kB / 0.9878 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7404, allocations: 3.219 kB / 0.9878 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.7404, allocations: 0 / 0.9878 GB, free: 11.63 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001056/0.7415, allocations: 0.91 MB / 0.9887 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.7415, allocations: 10.44 kB / 0.9887 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.838e-05/0.7416, allocations: 106.9 kB / 0.9888 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.7424, allocations: 204.3 kB / 0.989 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.743, allocations: 0.5212 MB / 0.9895 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/0.7434, allocations: 117 kB / 0.9896 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.7435, allocations: 58.12 kB / 0.9897 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009723/0.7444, allocations: 0.7716 MB / 0.9904 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.7445, allocations: 6.062 kB / 0.9904 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.7445, allocations: 28.66 kB / 0.9905 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.7445, allocations: 22.88 kB / 0.9905 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.7454, allocations: 481.4 kB / 0.9909 GB, free: 9.34 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.002977/0.7484, allocations: 4.167 MB / 0.995 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.7485, allocations: 104 kB / 0.9951 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.7486, allocations: 74.03 kB / 0.9952 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.7487, allocations: 95.97 kB / 0.9953 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.7487, allocations: 39.62 kB / 0.9953 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.7487, allocations: 0 / 0.9953 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005467/0.7493, allocations: 246.7 kB / 0.9955 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.7494, allocations: 128.5 kB / 0.9957 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.7503, allocations: 0.8411 MB / 0.9965 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.7503, allocations: 32.67 kB / 0.9965 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.7506, allocations: 398.3 kB / 0.9969 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.7506, allocations: 41.7 kB / 0.9969 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.7506, allocations: 31.39 kB / 0.997 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.7507, allocations: 328.3 kB / 0.9973 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.751, allocations: 112.8 kB / 0.9974 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.7514, allocations: 354.4 kB / 0.9977 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.7519, allocations: 411.4 kB / 0.9981 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7519, allocations: 3.406 kB / 0.9981 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007927/0.7527, allocations: 0.4921 MB / 0.9986 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7527, allocations: 13.69 kB / 0.9986 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7527, allocations: 5.125 kB / 0.9986 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7527, allocations: 10.84 kB / 0.9986 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.753, allocations: 93.17 kB / 0.9987 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.753, allocations: 14.67 kB / 0.9987 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.7537, allocations: 135.5 kB / 0.9989 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.7537, allocations: 27.38 kB / 0.9989 GB, free: 2.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0001986/0.7539, allocations: 224 kB / 0.9991 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.754, allocations: 70.38 kB / 0.9992 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.513e-05/0.7541, allocations: 77.64 kB / 0.9992 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7541, allocations: 2.5 kB / 0.9992 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7541, allocations: 0 / 0.9992 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7542, allocations: 6.719 kB / 0.9992 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.7552, allocations: 1.127 MB / 1 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7552, allocations: 2.812 kB / 1 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.7553, allocations: 18.27 kB / 1 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7553, allocations: 7.641 kB / 1 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.7553, allocations: 3.406 kB / 1 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.7553, allocations: 13.53 kB / 1 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7553, allocations: 2.594 kB / 1 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.7556, allocations: 259.6 kB / 1.001 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.7557, allocations: 167.8 kB / 1.001 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.7558, allocations: 6.766 kB / 1.001 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.7561, allocations: 23.92 kB / 1.001 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.7562, allocations: 21.89 kB / 1.001 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.7562, allocations: 5.281 kB / 1.001 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006687/0.7568, allocations: 0.5912 MB / 1.001 GB, free: 492 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7569, allocations: 96 / 1.001 GB, free: 492 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004585/0.7573, allocations: 153.2 kB / 1.002 GB, free: 468 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0006712/0.758, allocations: 0.8876 MB / 1.002 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.7584, allocations: 229.6 kB / 1.003 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7584, allocations: 0 / 1.003 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.7585, allocations: 55.69 kB / 1.003 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.7602, allocations: 362 kB / 1.003 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.7664, allocations: 5.839 MB / 1.009 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.7668, allocations: 0.9344 MB / 1.01 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004123/0.7672, allocations: 146.2 kB / 1.01 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.7674, allocations: 230.2 kB / 1.01 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.7674, allocations: 0 / 1.01 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.473/2.24, allocations: 17.28 MB / 1.027 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/2.241, allocations: 277.8 kB / 1.027 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/4.217, allocations: 3.938 kB / 1.027 GB, free: 1.676 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)