Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001194/0.001193, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001143/0.001143, allocations: 93.16 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004479, allocations: 12.41 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2714, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7714/1.043, allocations: 155.8 MB / 1.132 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01334/1.056, allocations: 10.89 MB / 1.142 GB, free: 15.19 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/1.058, allocations: 27.91 kB / 1.142 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/1.059, allocations: 434.3 kB / 1.143 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/1.063, allocations: 1.03 MB / 1.144 GB, free: 14.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/1.065, allocations: 0.8257 MB / 1.144 GB, free: 14.01 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002285/1.068, allocations: 1.154 MB / 1.146 GB, free: 13.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/1.069, allocations: 0.6131 MB / 1.146 GB, free: 12.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/1.072, allocations: 1.21 MB / 1.147 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008805/1.073, allocations: 423 kB / 1.148 GB, free: 11.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/1.073, allocations: 35.06 kB / 1.148 GB, free: 11.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/1.075, allocations: 419.9 kB / 1.148 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/1.075, allocations: 302.3 kB / 1.148 GB, free: 11.53 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002793/1.075, allocations: 210.1 kB / 1.149 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/1.077, allocations: 0.9908 MB / 1.15 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.077, allocations: 0 / 1.15 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.077, allocations: 3.938 kB / 1.15 GB, free: 10.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.077, allocations: 0 / 1.15 GB, free: 10.74 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001909/1.079, allocations: 1.048 MB / 1.151 GB, free: 9.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.079, allocations: 10.5 kB / 1.151 GB, free: 9.898 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/1.079, allocations: 124.3 kB / 1.151 GB, free: 9.797 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.08, allocations: 209 kB / 1.151 GB, free: 9.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/1.081, allocations: 0.6152 MB / 1.152 GB, free: 9.207 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/1.081, allocations: 66.69 kB / 1.152 GB, free: 9.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.081, allocations: 74.53 kB / 1.152 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.083, allocations: 0.9258 MB / 1.153 GB, free: 8.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/1.083, allocations: 2.438 kB / 1.153 GB, free: 8.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/1.083, allocations: 32.33 kB / 1.153 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/1.083, allocations: 31.97 kB / 1.153 GB, free: 8.449 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/1.084, allocations: 0.6075 MB / 1.153 GB, free: 8.152 MB / 0.698 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.005405/1.09, allocations: 4.592 MB / 1.158 GB, free: 3.938 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008552/1.091, allocations: 0.5358 MB / 1.158 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.77e-05/1.091, allocations: 7.656 kB / 1.158 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/1.091, allocations: 41.59 kB / 1.158 GB, free: 3.516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 4.509e-06/1.091, allocations: 4 kB / 1.158 GB, free: 3.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.003741/1.094, allocations: 1.572 MB / 1.16 GB, free: 2.484 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/1.095, allocations: 108.6 kB / 1.16 GB, free: 2.359 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/1.096, allocations: 0.701 MB / 1.161 GB, free: 1.953 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/1.096, allocations: 38.14 kB / 1.161 GB, free: 1.914 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/1.096, allocations: 417 kB / 1.161 GB, free: 1.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/1.096, allocations: 162.5 kB / 1.161 GB, free: 1.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/1.096, allocations: 15.44 kB / 1.161 GB, free: 1.398 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.097, allocations: 389.6 kB / 1.162 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/1.097, allocations: 181.2 kB / 1.162 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/1.097, allocations: 417.9 kB / 1.162 GB, free: 0.5586 MB / 0.698 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.001859/1.099, allocations: 0.6542 MB / 1.163 GB, free: 188 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.099, allocations: 1.781 kB / 1.163 GB, free: 188 kB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001311/1.101, allocations: 0.6625 MB / 1.164 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.101, allocations: 12.88 kB / 1.164 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.101, allocations: 6.531 kB / 1.164 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/1.101, allocations: 11.09 kB / 1.164 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/1.101, allocations: 124.8 kB / 1.164 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/1.101, allocations: 14.16 kB / 1.164 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/1.102, allocations: 56.41 kB / 1.164 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/1.102, allocations: 30.53 kB / 1.164 GB, free: 15.76 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.0004931/1.103, allocations: 276.8 kB / 1.164 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/1.103, allocations: 84 kB / 1.164 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/1.103, allocations: 88.8 kB / 1.164 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.103, allocations: 5.25 kB / 1.164 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/1.103, allocations: 1.531 kB / 1.164 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009889/1.104, allocations: 0.7071 MB / 1.165 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/1.108, allocations: 1.64 MB / 1.167 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.108, allocations: 8.062 kB / 1.167 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/1.109, allocations: 106.8 kB / 1.167 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/1.109, allocations: 5.875 kB / 1.167 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/1.109, allocations: 16.73 kB / 1.167 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/1.109, allocations: 6.406 kB / 1.167 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.109, allocations: 7.781 kB / 1.167 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.111, allocations: 1.077 MB / 1.168 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/1.111, allocations: 202 kB / 1.168 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/1.112, allocations: 15.84 kB / 1.168 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/1.112, allocations: 35.33 kB / 1.168 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/1.112, allocations: 44.33 kB / 1.168 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/1.112, allocations: 15.56 kB / 1.168 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001082/1.113, allocations: 0.5042 MB / 1.168 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.114, allocations: 0 / 1.168 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001274/1.115, allocations: 203.5 kB / 1.169 GB, free: 12.09 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.002891/1.118, allocations: 2.806 MB / 1.171 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009582/1.119, allocations: 471 kB / 1.172 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.119, allocations: 2.875 kB / 1.172 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/1.119, allocations: 211.9 kB / 1.172 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.121, allocations: 450 kB / 1.173 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.131, allocations: 8.992 MB / 1.181 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/1.132, allocations: 1.044 MB / 1.182 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009114/1.133, allocations: 201 kB / 1.182 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/1.133, allocations: 291.7 kB / 1.183 GB, free: 480 kB / 0.7136 GB Notification: Performance of SimCode: time 1.904e-06/1.133, allocations: 0 / 1.183 GB, free: 480 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04679/1.18, allocations: 21.52 MB / 1.204 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/1.181, allocations: 276.7 kB / 1.204 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.802, allocations: 5.547 kB / 1.204 GB, free: 1.082 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)