Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009044/0.0009046, allocations: 179.6 kB / 325.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006718/0.0006718, allocations: 90.06 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 8.312 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5755/0.7452, allocations: 184.9 MB / 1.077 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.7603, allocations: 13.2 MB / 1.09 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.7617, allocations: 32.47 kB / 1.09 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.7629, allocations: 351.8 kB / 1.09 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.7658, allocations: 1.091 MB / 1.091 GB, free: 1.367 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.7676, allocations: 0.6546 MB / 1.092 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.7707, allocations: 2.827 MB / 1.095 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009201/0.7716, allocations: 0.7092 MB / 1.095 GB, free: 1.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.7756, allocations: 1.657 MB / 1.097 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.7775, allocations: 0.6592 MB / 1.097 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.7777, allocations: 34.34 kB / 1.097 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.7797, allocations: 0.9707 MB / 1.098 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.78, allocations: 344.3 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.7806, allocations: 449.5 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.7824, allocations: 1.498 MB / 1.101 GB, free: 1.047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7824, allocations: 1.859 kB / 1.101 GB, free: 1.047 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7824, allocations: 0 / 1.101 GB, free: 1.047 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.7824, allocations: 0 / 1.101 GB, free: 1.047 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001539/0.7839, allocations: 1.061 MB / 1.102 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.784, allocations: 10.12 kB / 1.102 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.7841, allocations: 126.4 kB / 1.102 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.7852, allocations: 211.2 kB / 1.102 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.7861, allocations: 0.6375 MB / 1.103 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.7861, allocations: 56.78 kB / 1.103 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.7862, allocations: 79.25 kB / 1.103 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.7875, allocations: 0.9393 MB / 1.104 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.7875, allocations: 8.875 kB / 1.104 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.7876, allocations: 34.25 kB / 1.104 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.7876, allocations: 27.47 kB / 1.104 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.7885, allocations: 0.6163 MB / 1.104 GB, free: 15.7 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.003919/0.7924, allocations: 4.606 MB / 1.109 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.7931, allocations: 0.5342 MB / 1.109 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.7934, allocations: 249 kB / 1.11 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.7935, allocations: 109.3 kB / 1.11 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.7936, allocations: 40.06 kB / 1.11 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.7936, allocations: 0 / 1.11 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002475/0.7961, allocations: 1.572 MB / 1.111 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.7961, allocations: 108.7 kB / 1.111 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.7969, allocations: 0.7172 MB / 1.112 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.7969, allocations: 36.48 kB / 1.112 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.7972, allocations: 412.1 kB / 1.113 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.7973, allocations: 162.6 kB / 1.113 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.7974, allocations: 55.83 kB / 1.113 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7975, allocations: 391.2 kB / 1.113 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.7978, allocations: 182.3 kB / 1.113 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.7981, allocations: 412.6 kB / 1.114 GB, free: 10.39 MB / 0.7136 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.001833/0.8, allocations: 1.157 MB / 1.115 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.8, allocations: 6.875 kB / 1.115 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009266/0.8009, allocations: 0.6643 MB / 1.115 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.801, allocations: 6.469 kB / 1.115 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.801, allocations: 5.906 kB / 1.115 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.801, allocations: 9.219 kB / 1.115 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.8014, allocations: 137.8 kB / 1.116 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.8015, allocations: 9.594 kB / 1.116 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.802, allocations: 46.8 kB / 1.116 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.8021, allocations: 34.22 kB / 1.116 GB, free: 9.941 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003096/0.8024, allocations: 278.2 kB / 1.116 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.8026, allocations: 83.97 kB / 1.116 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.8027, allocations: 87.97 kB / 1.116 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8027, allocations: 3.188 kB / 1.116 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8027, allocations: 6.812 kB / 1.116 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005979/0.8033, allocations: 0.6991 MB / 1.117 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.8054, allocations: 1.643 MB / 1.118 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.8054, allocations: 2.844 kB / 1.118 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.8058, allocations: 104.3 kB / 1.119 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.8058, allocations: 5.906 kB / 1.119 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.8059, allocations: 17.03 kB / 1.119 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.8059, allocations: 8.031 kB / 1.119 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.8059, allocations: 4.406 kB / 1.119 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.8069, allocations: 0.8932 MB / 1.119 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.8072, allocations: 212.8 kB / 1.12 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.8073, allocations: 12.38 kB / 1.12 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/0.8078, allocations: 50.58 kB / 1.12 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.8079, allocations: 36.59 kB / 1.12 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.8079, allocations: 21.89 kB / 1.12 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006075/0.8085, allocations: 0.5106 MB / 1.12 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8086, allocations: 4 kB / 1.12 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007328/0.8093, allocations: 200.1 kB / 1.12 GB, free: 8.129 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 (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.001911/0.8112, allocations: 1.522 MB / 1.122 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008703/0.8121, allocations: 477.3 kB / 1.122 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8121, allocations: 0 / 1.122 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.8125, allocations: 207.5 kB / 1.123 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.8149, allocations: 457.3 kB / 1.123 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.8251, allocations: 7.157 MB / 1.13 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.8257, allocations: 1.035 MB / 1.131 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007851/0.8265, allocations: 194.5 kB / 1.131 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.8268, allocations: 295 kB / 1.131 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.8268, allocations: 0 / 1.131 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4812/1.308, allocations: 21.23 MB / 1.152 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000406/1.308, allocations: 292.5 kB / 1.153 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.974, allocations: 0 / 1.153 GB, free: 10.82 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)