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.473/1.473, allocations: 252 MB / 267.3 MB, free: 10.86 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.00113/0.00113, allocations: 175.6 kB / 327 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.000822/0.0008219, allocations: 92.94 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004295, allocations: 12.48 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 106.3 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8211/1.069, allocations: 182.8 MB / 1.079 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01843/1.088, allocations: 13.03 MB / 1.092 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/1.09, allocations: 26.62 kB / 1.092 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/1.091, allocations: 353.5 kB / 1.093 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/1.094, allocations: 1.097 MB / 1.094 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/1.096, allocations: 0.6491 MB / 1.094 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004429/1.1, allocations: 2.825 MB / 1.097 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/1.102, allocations: 0.7202 MB / 1.098 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005059/1.107, allocations: 1.654 MB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/1.109, allocations: 0.6591 MB / 1.1 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/1.109, allocations: 38.41 kB / 1.1 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/1.112, allocations: 0.9673 MB / 1.101 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004464/1.112, allocations: 342.9 kB / 1.101 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008481/1.113, allocations: 474.2 kB / 1.102 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/1.115, allocations: 1.491 MB / 1.103 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.115, allocations: 4 kB / 1.103 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/1.115, allocations: 3.156 kB / 1.103 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.116, allocations: 0 / 1.103 GB, free: 17.1 MB / 0.7136 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.001668/1.117, allocations: 1.054 MB / 1.104 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.117, allocations: 13.44 kB / 1.104 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/1.117, allocations: 124.4 kB / 1.104 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.119, allocations: 218.1 kB / 1.105 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/1.12, allocations: 0.6388 MB / 1.105 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/1.12, allocations: 63.58 kB / 1.105 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/1.12, allocations: 81.97 kB / 1.105 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.121, allocations: 0.9364 MB / 1.106 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.121, allocations: 6.219 kB / 1.106 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/1.121, allocations: 34.31 kB / 1.106 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/1.121, allocations: 31.12 kB / 1.106 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009065/1.122, allocations: 0.6137 MB / 1.107 GB, free: 15.74 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.004447/1.127, allocations: 4.611 MB / 1.111 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/1.127, allocations: 0.5319 MB / 1.112 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/1.128, allocations: 240.6 kB / 1.112 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/1.128, allocations: 97.58 kB / 1.112 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/1.128, allocations: 51.34 kB / 1.112 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.015e-06/1.128, allocations: 0 / 1.112 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002669/1.131, allocations: 1.565 MB / 1.114 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/1.131, allocations: 114.2 kB / 1.114 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/1.132, allocations: 0.7155 MB / 1.115 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/1.132, allocations: 35.95 kB / 1.115 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/1.132, allocations: 419.3 kB / 1.115 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.132, allocations: 159.5 kB / 1.115 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/1.132, allocations: 12.47 kB / 1.115 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.132, allocations: 390.1 kB / 1.116 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/1.133, allocations: 184.3 kB / 1.116 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/1.133, allocations: 417 kB / 1.116 GB, free: 10.46 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.001949/1.135, allocations: 1.163 MB / 1.117 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.135, allocations: 0 / 1.117 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008995/1.136, allocations: 0.6653 MB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.136, allocations: 10.19 kB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.136, allocations: 9.578 kB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.136, allocations: 10.88 kB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/1.136, allocations: 123.2 kB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.136, allocations: 12.91 kB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/1.137, allocations: 51.39 kB / 1.118 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/1.137, allocations: 28.34 kB / 1.118 GB, free: 10.01 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.0003889/1.137, allocations: 280 kB / 1.118 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.138, allocations: 87.88 kB / 1.119 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/1.138, allocations: 89.39 kB / 1.119 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.138, allocations: 3.438 kB / 1.119 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.138, allocations: 1.844 kB / 1.119 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007397/1.139, allocations: 0.6965 MB / 1.119 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/1.141, allocations: 1.638 MB / 1.121 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.141, allocations: 6.562 kB / 1.121 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/1.141, allocations: 100.2 kB / 1.121 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.141, allocations: 12.5 kB / 1.121 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/1.141, allocations: 12.47 kB / 1.121 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.141, allocations: 8.688 kB / 1.121 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.141, allocations: 11.12 kB / 1.121 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/1.142, allocations: 0.89 MB / 1.122 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/1.143, allocations: 212.1 kB / 1.122 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/1.143, allocations: 19.41 kB / 1.122 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/1.143, allocations: 37.7 kB / 1.122 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/1.143, allocations: 44.95 kB / 1.122 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/1.143, allocations: 21.52 kB / 1.122 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005904/1.144, allocations: 0.506 MB / 1.123 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.144, allocations: 2.906 kB / 1.123 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006849/1.145, allocations: 205.8 kB / 1.123 GB, free: 8.199 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.001625/1.146, allocations: 1.518 MB / 1.124 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006982/1.147, allocations: 475.6 kB / 1.125 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.147, allocations: 8.062 kB / 1.125 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/1.147, allocations: 209.8 kB / 1.125 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.15, allocations: 457.3 kB / 1.125 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009472/1.159, allocations: 7.235 MB / 1.133 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/1.16, allocations: 1.031 MB / 1.134 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007607/1.16, allocations: 206.1 kB / 1.134 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/1.161, allocations: 298 kB / 1.134 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.161, allocations: 3.938 kB / 1.134 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/1.198, allocations: 21.23 MB / 1.155 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.198, allocations: 288.6 kB / 1.155 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/4.411, allocations: 0 / 1.155 GB, free: 9.926 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)