Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.775/2.775, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001915/0.001915, allocations: 178.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 83.81 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007111/0.0007115, allocations: 16.41 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2525, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.9772/1.23, allocations: 170.2 MB / 1.145 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02503/1.255, allocations: 12.07 MB / 1.156 GB, free: 6.023 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/1.257, allocations: 22.19 kB / 1.156 GB, free: 6.016 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/1.258, allocations: 281.8 kB / 1.157 GB, free: 5.785 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003592/1.262, allocations: 0.7062 MB / 1.157 GB, free: 5.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/1.265, allocations: 0.5649 MB / 1.158 GB, free: 4.836 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003914/1.269, allocations: 1.766 MB / 1.16 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/1.271, allocations: 498.1 kB / 1.16 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/1.276, allocations: 1.276 MB / 1.161 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/1.277, allocations: 472.2 kB / 1.162 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/1.278, allocations: 24.91 kB / 1.162 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/1.28, allocations: 0.5952 MB / 1.162 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005636/1.281, allocations: 250.3 kB / 1.163 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004805/1.281, allocations: 166.5 kB / 1.163 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/1.284, allocations: 0.8216 MB / 1.164 GB, free: 1.359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.284, allocations: 0 / 1.164 GB, free: 1.359 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/1.284, allocations: 0 / 1.164 GB, free: 1.359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.284, allocations: 1.25 kB / 1.164 GB, free: 1.359 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002178/1.286, allocations: 0.9207 MB / 1.165 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.286, allocations: 9.75 kB / 1.165 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/1.286, allocations: 99.45 kB / 1.165 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/1.288, allocations: 196.1 kB / 1.165 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.289, allocations: 0.5122 MB / 1.165 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006338/1.29, allocations: 107.9 kB / 1.165 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.29, allocations: 57.66 kB / 1.166 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/1.292, allocations: 0.7679 MB / 1.166 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/1.292, allocations: 6 kB / 1.166 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/1.292, allocations: 24.16 kB / 1.166 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/1.292, allocations: 28.97 kB / 1.166 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/1.294, allocations: 473.9 kB / 1.167 GB, free: 15.08 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.006773/1.301, allocations: 4.17 MB / 1.171 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/1.301, allocations: 104.8 kB / 1.171 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/1.301, allocations: 76.41 kB / 1.171 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/1.302, allocations: 93 kB / 1.171 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.302, allocations: 48.58 kB / 1.171 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/1.302, allocations: 0 / 1.171 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.001135/1.303, allocations: 236.9 kB / 1.171 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/1.303, allocations: 134.6 kB / 1.172 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/1.305, allocations: 0.8338 MB / 1.172 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/1.305, allocations: 31.2 kB / 1.172 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/1.306, allocations: 397.1 kB / 1.173 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/1.306, allocations: 37.77 kB / 1.173 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/1.306, allocations: 5.406 kB / 1.173 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.306, allocations: 321.6 kB / 1.173 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/1.306, allocations: 115.5 kB / 1.173 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/1.307, allocations: 349.1 kB / 1.174 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/1.308, allocations: 164.3 kB / 1.174 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.308, allocations: 2.281 kB / 1.174 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001848/1.31, allocations: 498.2 kB / 1.174 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/1.31, allocations: 8.781 kB / 1.174 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.31, allocations: 14.89 kB / 1.174 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/1.31, allocations: 10.47 kB / 1.174 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/1.311, allocations: 94.73 kB / 1.174 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/1.311, allocations: 13.31 kB / 1.174 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.312, allocations: 133.4 kB / 1.174 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.312, allocations: 26.64 kB / 1.174 GB, free: 8.543 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005362/1.313, allocations: 223.3 kB / 1.175 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/1.313, allocations: 74.22 kB / 1.175 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/1.313, allocations: 77.17 kB / 1.175 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.313, allocations: 6.234 kB / 1.175 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.313, allocations: 1.281 kB / 1.175 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.313, allocations: 1.312 kB / 1.175 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/1.316, allocations: 1.117 MB / 1.176 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.316, allocations: 2.656 kB / 1.176 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/1.316, allocations: 22.56 kB / 1.176 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.316, allocations: 4.5 kB / 1.176 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/1.316, allocations: 1.781 kB / 1.176 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/1.316, allocations: 7.656 kB / 1.176 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.316, allocations: 2.625 kB / 1.176 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/1.317, allocations: 276.7 kB / 1.176 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/1.317, allocations: 167.3 kB / 1.176 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.317, allocations: 8.25 kB / 1.176 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/1.318, allocations: 27.06 kB / 1.176 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/1.318, allocations: 14.17 kB / 1.176 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/1.318, allocations: 4.812 kB / 1.176 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001656/1.32, allocations: 0.5806 MB / 1.177 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.01e-07/1.32, allocations: 0 / 1.177 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001089/1.321, allocations: 162.7 kB / 1.177 GB, free: 6.492 MB / 0.7136 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 (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.001363/1.322, allocations: 0.8909 MB / 1.178 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009379/1.323, allocations: 232.3 kB / 1.178 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.323, allocations: 0 / 1.178 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.323, allocations: 48.8 kB / 1.178 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.327, allocations: 362.6 kB / 1.179 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/1.337, allocations: 3.842 MB / 1.182 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.337, allocations: 0.9399 MB / 1.183 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009672/1.338, allocations: 147.1 kB / 1.183 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/1.339, allocations: 231 kB / 1.184 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/1.339, allocations: 0 / 1.184 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/1.407, allocations: 17.27 MB / 1.201 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004191/1.407, allocations: 259.7 kB / 1.201 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/4.729, allocations: 2.922 kB / 1.201 GB, free: 7.543 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)