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.445/1.445, allocations: 249.5 MB / 257 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.8 kB / 316.3 MB, free: 3.234 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.593/1.593, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001148/0.001148, allocations: 94.42 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.436e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.484/5.692, allocations: 2.204 GB / 3.089 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/5.693, allocations: 92.86 kB / 3.089 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/7.883, allocations: 0.5674 GB / 3.657 GB, free: 179 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/7.883, allocations: 0 / 3.657 GB, free: 179 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.016e-05/7.883, allocations: 29.66 kB / 3.657 GB, free: 179 MB / 0.8698 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.002395/7.885, allocations: 1.134 MB / 3.658 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/7.885, allocations: 9.219 kB / 3.658 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/7.887, allocations: 212.6 kB / 3.658 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/7.888, allocations: 0.6575 MB / 3.659 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/7.888, allocations: 23.47 kB / 3.659 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/7.888, allocations: 53.94 kB / 3.659 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009259/7.889, allocations: 0.5133 MB / 3.659 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/7.89, allocations: 0.7826 MB / 3.66 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/7.89, allocations: 4.5 kB / 3.66 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/7.89, allocations: 7.406 kB / 3.66 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/7.89, allocations: 31.31 kB / 3.66 GB, free: 178.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.003393/7.894, allocations: 4.389 MB / 3.664 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/7.894, allocations: 410.1 kB / 3.665 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/7.894, allocations: 222.7 kB / 3.665 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/7.895, allocations: 105 kB / 3.665 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/7.895, allocations: 41.81 kB / 3.665 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 2.926e-06/7.895, allocations: 0 / 3.665 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002331/7.897, allocations: 1.308 MB / 3.666 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/7.897, allocations: 107.6 kB / 3.666 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/7.898, allocations: 433.8 kB / 3.667 GB, free: 174 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/7.898, allocations: 25.7 kB / 3.667 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/7.898, allocations: 434.6 kB / 3.667 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/7.898, allocations: 155.4 kB / 3.667 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/7.898, allocations: 0 / 3.667 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/7.898, allocations: 372.3 kB / 3.668 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/7.898, allocations: 160.9 kB / 3.668 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/7.899, allocations: 404.1 kB / 3.668 GB, free: 173.1 MB / 0.8698 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.001346/7.9, allocations: 0.62 MB / 3.669 GB, free: 173 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/7.9, allocations: 3.312 kB / 3.669 GB, free: 173 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007431/7.901, allocations: 0.5688 MB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/7.901, allocations: 11.19 kB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/7.901, allocations: 11.56 kB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/7.901, allocations: 9.656 kB / 3.669 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/7.901, allocations: 124.2 kB / 3.67 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/7.901, allocations: 19.27 kB / 3.67 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/7.902, allocations: 38.44 kB / 3.67 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/7.902, allocations: 29.75 kB / 3.67 GB, free: 172.9 MB / 0.8698 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 () * 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.0001364/7.902, allocations: 120 kB / 3.67 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000553/7.903, allocations: 414.7 kB / 3.67 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/7.903, allocations: 76.36 kB / 3.67 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/7.903, allocations: 69.05 kB / 3.67 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/7.903, allocations: 3.75 kB / 3.67 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/7.903, allocations: 0 / 3.67 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004944/7.903, allocations: 0.66 MB / 3.671 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/7.905, allocations: 1.464 MB / 3.672 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.905, allocations: 3.875 kB / 3.672 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/7.906, allocations: 101.5 kB / 3.672 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/7.906, allocations: 7.812 kB / 3.672 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/7.906, allocations: 10.95 kB / 3.672 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/7.906, allocations: 7.156 kB / 3.672 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/7.906, allocations: 7.656 kB / 3.672 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/7.907, allocations: 0.9867 MB / 3.673 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/7.907, allocations: 184.4 kB / 3.674 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/7.907, allocations: 10.88 kB / 3.674 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/7.908, allocations: 31.53 kB / 3.674 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/7.908, allocations: 45.41 kB / 3.674 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/7.908, allocations: 16.88 kB / 3.674 GB, free: 171 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003194/7.908, allocations: 335.2 kB / 3.674 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.603e-06/7.908, allocations: 0 / 3.674 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00116/7.909, allocations: 302.6 kB / 3.674 GB, free: 170.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * 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.003413/7.913, allocations: 4.33 MB / 3.679 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006918/7.913, allocations: 418.4 kB / 3.679 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/7.913, allocations: 0 / 3.679 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/7.914, allocations: 189.3 kB / 3.679 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/7.915, allocations: 302.3 kB / 3.679 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/7.918, allocations: 1.442 MB / 3.681 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/7.918, allocations: 1.047 MB / 3.682 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005829/7.919, allocations: 163.9 kB / 3.682 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/7.919, allocations: 284.8 kB / 3.682 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of SimCode: time 6.32e-07/7.919, allocations: 3.938 kB / 3.682 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/7.968, allocations: 29.26 MB / 3.711 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/7.969, allocations: 219.8 kB / 3.711 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/10.85, allocations: 3.438 kB / 3.711 GB, free: 166.3 MB / 0.8698 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)