Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001161/0.001162, allocations: 176.9 kB / 366.7 MB, free: 1.621 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.656/1.656, allocations: 205.2 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008502/0.0008504, allocations: 79.66 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.095e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7189/0.719, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.541, allocations: 2.085 GB / 3.059 GB, free: 279.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/6.541, allocations: 93.78 kB / 3.059 GB, free: 279.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.848/8.39, allocations: 0.5811 GB / 3.64 GB, free: 141.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.492e-06/8.39, allocations: 0 / 3.64 GB, free: 141.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.72e-05/8.39, allocations: 27.98 kB / 3.64 GB, free: 141.5 MB / 0.948 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.002218/8.392, allocations: 1.134 MB / 3.641 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/8.392, allocations: 8.031 kB / 3.641 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/8.393, allocations: 214.6 kB / 3.641 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/8.394, allocations: 0.6534 MB / 3.642 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/8.394, allocations: 24 kB / 3.642 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/8.394, allocations: 48 kB / 3.642 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007867/8.395, allocations: 0.5037 MB / 3.643 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009817/8.396, allocations: 0.7926 MB / 3.643 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/8.396, allocations: 7.875 kB / 3.643 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/8.396, allocations: 4 kB / 3.643 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/8.396, allocations: 25.31 kB / 3.643 GB, free: 137.9 MB / 0.948 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.003116/8.399, allocations: 4.381 MB / 3.648 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/8.4, allocations: 415.9 kB / 3.648 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/8.4, allocations: 217.8 kB / 3.648 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/8.4, allocations: 102.1 kB / 3.648 GB, free: 132.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/8.4, allocations: 46.5 kB / 3.648 GB, free: 132.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.316e-06/8.4, allocations: 0 / 3.648 GB, free: 132.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002024/8.402, allocations: 1.301 MB / 3.65 GB, free: 131.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/8.402, allocations: 110.8 kB / 3.65 GB, free: 130.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/8.403, allocations: 434.4 kB / 3.65 GB, free: 130.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/8.403, allocations: 29.7 kB / 3.65 GB, free: 130.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/8.403, allocations: 423 kB / 3.651 GB, free: 130 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.958e-05/8.403, allocations: 153.7 kB / 3.651 GB, free: 129.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/8.403, allocations: 0 / 3.651 GB, free: 129.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/8.403, allocations: 374.8 kB / 3.651 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/8.404, allocations: 165.5 kB / 3.651 GB, free: 129.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/8.404, allocations: 400 kB / 3.652 GB, free: 128.9 MB / 0.948 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.001344/8.405, allocations: 0.6428 MB / 3.652 GB, free: 128.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/8.405, allocations: 0 / 3.652 GB, free: 128.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007203/8.406, allocations: 0.5704 MB / 3.653 GB, free: 127.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/8.406, allocations: 8 kB / 3.653 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/8.406, allocations: 8 kB / 3.653 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/8.406, allocations: 12 kB / 3.653 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/8.406, allocations: 127.8 kB / 3.653 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/8.406, allocations: 20.36 kB / 3.653 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/8.407, allocations: 44.14 kB / 3.653 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/8.407, allocations: 28 kB / 3.653 GB, free: 127.4 MB / 0.948 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.000147/8.407, allocations: 120.8 kB / 3.653 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005267/8.408, allocations: 412.7 kB / 3.654 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/8.408, allocations: 67.28 kB / 3.654 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/8.408, allocations: 78.17 kB / 3.654 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/8.408, allocations: 4 kB / 3.654 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/8.408, allocations: 3.953 kB / 3.654 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004686/8.409, allocations: 0.6572 MB / 3.654 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/8.41, allocations: 1.458 MB / 3.656 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/8.41, allocations: 4 kB / 3.656 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/8.411, allocations: 99.89 kB / 3.656 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/8.411, allocations: 7.984 kB / 3.656 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/8.411, allocations: 8 kB / 3.656 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/8.411, allocations: 7.938 kB / 3.656 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/8.411, allocations: 7.938 kB / 3.656 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009038/8.412, allocations: 0.9996 MB / 3.657 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/8.412, allocations: 192.4 kB / 3.657 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/8.412, allocations: 7.953 kB / 3.657 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/8.413, allocations: 35.88 kB / 3.657 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/8.413, allocations: 31.91 kB / 3.657 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/8.413, allocations: 27.94 kB / 3.657 GB, free: 122.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003041/8.413, allocations: 322.9 kB / 3.658 GB, free: 122.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/8.413, allocations: 0 / 3.658 GB, free: 122.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001189/8.414, allocations: 296 kB / 3.658 GB, free: 122.2 MB / 0.948 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.003438/8.418, allocations: 4.325 MB / 3.662 GB, free: 117.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006461/8.418, allocations: 421.7 kB / 3.662 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/8.418, allocations: 0 / 3.662 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/8.418, allocations: 191.9 kB / 3.663 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/8.42, allocations: 300.7 kB / 3.663 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/8.422, allocations: 1.445 MB / 3.664 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/8.423, allocations: 1.047 MB / 3.665 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005832/8.423, allocations: 165.2 kB / 3.665 GB, free: 114 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/8.424, allocations: 287.3 kB / 3.666 GB, free: 113.7 MB / 0.948 GB Notification: Performance of SimCode: time 3.1e-07/8.424, allocations: 0 / 3.666 GB, free: 113.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/8.474, allocations: 29.12 MB / 3.694 GB, free: 84.71 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/8.474, allocations: 201 kB / 3.694 GB, free: 84.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/11.62, allocations: 0 / 3.694 GB, free: 84.44 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)