Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 180.9 kB / 8.006 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5257/0.5257, allocations: 90.9 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 100.6 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.862e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.007/5.154, allocations: 1.883 GB / 2.437 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/5.154, allocations: 83.95 kB / 2.437 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.613/7.768, allocations: 0.5936 GB / 3.031 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/7.768, allocations: 0 / 3.031 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.884e-05/7.768, allocations: 27.92 kB / 3.031 GB, free: 109.5 MB / 0.6042 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.002092/7.77, allocations: 1.134 MB / 3.032 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/7.77, allocations: 9.625 kB / 3.032 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/7.771, allocations: 206.5 kB / 3.032 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/7.772, allocations: 0.664 MB / 3.033 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/7.772, allocations: 23.88 kB / 3.033 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/7.772, allocations: 57.19 kB / 3.033 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008311/7.773, allocations: 0.5098 MB / 3.033 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/7.774, allocations: 0.7917 MB / 3.034 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/7.774, allocations: 3.375 kB / 3.034 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/7.774, allocations: 2.844 kB / 3.034 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/7.774, allocations: 25.72 kB / 3.034 GB, free: 108.4 MB / 0.6042 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.003219/7.778, allocations: 4.398 MB / 3.038 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/7.778, allocations: 424.3 kB / 3.039 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/7.778, allocations: 216.7 kB / 3.039 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/7.779, allocations: 104 kB / 3.039 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/7.779, allocations: 46.31 kB / 3.039 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/7.779, allocations: 0 / 3.039 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002084/7.781, allocations: 1.317 MB / 3.04 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/7.781, allocations: 110 kB / 3.04 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/7.781, allocations: 433.6 kB / 3.041 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/7.781, allocations: 25.7 kB / 3.041 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/7.782, allocations: 433.3 kB / 3.041 GB, free: 104 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/7.782, allocations: 155.2 kB / 3.041 GB, free: 104 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/7.782, allocations: 3.938 kB / 3.041 GB, free: 104 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001006/7.782, allocations: 378 kB / 3.042 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/7.782, allocations: 170.7 kB / 3.042 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/7.782, allocations: 394.7 kB / 3.042 GB, free: 103.4 MB / 0.6042 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.001462/7.784, allocations: 0.6432 MB / 3.043 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/7.784, allocations: 0 / 3.043 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007888/7.785, allocations: 0.5699 MB / 3.043 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/7.785, allocations: 7.344 kB / 3.043 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/7.785, allocations: 9.594 kB / 3.043 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/7.785, allocations: 11 kB / 3.043 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/7.785, allocations: 126.9 kB / 3.044 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/7.785, allocations: 11.72 kB / 3.044 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/7.786, allocations: 45.55 kB / 3.044 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/7.786, allocations: 24.88 kB / 3.044 GB, free: 103.2 MB / 0.6042 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.0001221/7.786, allocations: 138.2 kB / 3.044 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005462/7.786, allocations: 429.1 kB / 3.044 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/7.787, allocations: 68.78 kB / 3.044 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/7.787, allocations: 70.2 kB / 3.044 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/7.787, allocations: 3.906 kB / 3.044 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/7.787, allocations: 3.625 kB / 3.044 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004961/7.787, allocations: 0.659 MB / 3.045 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/7.789, allocations: 1.464 MB / 3.046 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/7.789, allocations: 3.781 kB / 3.046 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/7.79, allocations: 98.05 kB / 3.046 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/7.79, allocations: 11.17 kB / 3.047 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/7.79, allocations: 7.094 kB / 3.047 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/7.79, allocations: 10.97 kB / 3.047 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/7.79, allocations: 3.562 kB / 3.047 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/7.79, allocations: 0.9713 MB / 3.047 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/7.791, allocations: 180.5 kB / 3.048 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/7.791, allocations: 17.75 kB / 3.048 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/7.791, allocations: 33.41 kB / 3.048 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/7.791, allocations: 34.98 kB / 3.048 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/7.791, allocations: 21.88 kB / 3.048 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002924/7.792, allocations: 331 kB / 3.048 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/7.792, allocations: 0 / 3.048 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009831/7.793, allocations: 298.4 kB / 3.048 GB, free: 101.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.003228/7.796, allocations: 4.314 MB / 3.053 GB, free: 98.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006176/7.796, allocations: 423.8 kB / 3.053 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/7.796, allocations: 0 / 3.053 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/7.797, allocations: 195.2 kB / 3.053 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/7.798, allocations: 300.8 kB / 3.053 GB, free: 98.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/7.8, allocations: 1.45 MB / 3.055 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/7.801, allocations: 1.05 MB / 3.056 GB, free: 97.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005245/7.801, allocations: 164 kB / 3.056 GB, free: 97.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/7.802, allocations: 286.9 kB / 3.056 GB, free: 97.48 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/7.802, allocations: 3.125 kB / 3.056 GB, free: 97.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/7.856, allocations: 29.17 MB / 3.085 GB, free: 94.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/7.856, allocations: 203.5 kB / 3.085 GB, free: 94.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/10.87, allocations: 3.938 kB / 3.085 GB, free: 94.48 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)