Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8881/0.8881, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 188.6 kB / 182.2 MB, free: 9.426 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.5 MB / 436.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 101.7 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 269.6 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.046e-05, allocations: 4 kB / 0.6766 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4069, allocations: 82.77 MB / 0.7575 GB, free: 31.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.126/4.533, allocations: 1.889 GB / 2.647 GB, free: 168.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/4.534, allocations: 87.95 kB / 2.647 GB, free: 168.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.188/6.722, allocations: 0.608 GB / 3.255 GB, free: 92.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/6.722, allocations: 3.828 kB / 3.255 GB, free: 92.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.579e-05/6.722, allocations: 23.91 kB / 3.255 GB, free: 92.19 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002594/6.724, allocations: 1.026 MB / 3.256 GB, free: 91.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/6.724, allocations: 8.031 kB / 3.256 GB, free: 91.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/6.725, allocations: 186.6 kB / 3.256 GB, free: 90.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/6.726, allocations: 0.5385 MB / 3.256 GB, free: 90.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/6.727, allocations: 93.25 kB / 3.256 GB, free: 90.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/6.727, allocations: 32 kB / 3.256 GB, free: 90.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005899/6.727, allocations: 322.5 kB / 3.257 GB, free: 89.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/6.728, allocations: 0.6326 MB / 3.257 GB, free: 89.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/6.728, allocations: 0 / 3.257 GB, free: 89.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/6.728, allocations: 4 kB / 3.257 GB, free: 89.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/6.728, allocations: 24.78 kB / 3.257 GB, free: 89.17 MB / 0.698 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.003389/6.732, allocations: 4.018 MB / 3.261 GB, free: 84.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/6.732, allocations: 94.45 kB / 3.261 GB, free: 84.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/6.732, allocations: 71.52 kB / 3.261 GB, free: 84.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/6.732, allocations: 93.09 kB / 3.262 GB, free: 84.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/6.732, allocations: 42.48 kB / 3.262 GB, free: 84.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.023e-06/6.732, allocations: 0 / 3.262 GB, free: 84.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005024/6.733, allocations: 165 kB / 3.262 GB, free: 84.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/6.733, allocations: 132.5 kB / 3.262 GB, free: 84.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/6.733, allocations: 450.1 kB / 3.262 GB, free: 83.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/6.733, allocations: 25.7 kB / 3.262 GB, free: 83.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/6.734, allocations: 418.8 kB / 3.263 GB, free: 83.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/6.734, allocations: 43.45 kB / 3.263 GB, free: 83.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/6.734, allocations: 0 / 3.263 GB, free: 83.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001054/6.734, allocations: 358.9 kB / 3.263 GB, free: 82.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/6.734, allocations: 71.97 kB / 3.263 GB, free: 82.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/6.734, allocations: 311.6 kB / 3.264 GB, free: 82.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/6.734, allocations: 140.1 kB / 3.264 GB, free: 82.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/6.734, allocations: 7.938 kB / 3.264 GB, free: 82.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004915/6.735, allocations: 372.5 kB / 3.264 GB, free: 81.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/6.735, allocations: 10.31 kB / 3.264 GB, free: 81.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/6.735, allocations: 4 kB / 3.264 GB, free: 81.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/6.735, allocations: 12 kB / 3.264 GB, free: 81.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/6.735, allocations: 95.83 kB / 3.264 GB, free: 81.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/6.735, allocations: 11.94 kB / 3.264 GB, free: 81.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/6.736, allocations: 103.4 kB / 3.264 GB, free: 81.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/6.736, allocations: 27.98 kB / 3.264 GB, free: 81.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 9.384e-05/6.736, allocations: 120.8 kB / 3.264 GB, free: 81.58 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002372/6.736, allocations: 144.9 kB / 3.265 GB, free: 81.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/6.736, allocations: 51.44 kB / 3.265 GB, free: 81.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/6.736, allocations: 51.09 kB / 3.265 GB, free: 81.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/6.736, allocations: 7.953 kB / 3.265 GB, free: 81.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/6.736, allocations: 0 / 3.265 GB, free: 81.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/6.736, allocations: 4.062 kB / 3.265 GB, free: 81.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/6.737, allocations: 1.033 MB / 3.266 GB, free: 80.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/6.737, allocations: 0 / 3.266 GB, free: 80.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/6.737, allocations: 19.98 kB / 3.266 GB, free: 80.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/6.738, allocations: 4 kB / 3.266 GB, free: 80.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/6.738, allocations: 4 kB / 3.266 GB, free: 80.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/6.738, allocations: 3.938 kB / 3.266 GB, free: 80.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/6.738, allocations: 4 kB / 3.266 GB, free: 80.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/6.738, allocations: 339.9 kB / 3.266 GB, free: 79.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/6.738, allocations: 144.4 kB / 3.266 GB, free: 79.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/6.738, allocations: 4 kB / 3.266 GB, free: 79.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/6.738, allocations: 19.98 kB / 3.266 GB, free: 79.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/6.738, allocations: 23.88 kB / 3.266 GB, free: 79.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/6.738, allocations: 4 kB / 3.266 GB, free: 79.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000312/6.739, allocations: 338.9 kB / 3.267 GB, free: 79.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/6.739, allocations: 0 / 3.267 GB, free: 79.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009967/6.74, allocations: 283.4 kB / 3.267 GB, free: 78.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.003169/6.743, allocations: 3.333 MB / 3.27 GB, free: 75.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003652/6.743, allocations: 181.3 kB / 3.27 GB, free: 75.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/6.743, allocations: 0 / 3.27 GB, free: 75.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/6.743, allocations: 47.19 kB / 3.27 GB, free: 75.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009875/6.744, allocations: 198.5 kB / 3.27 GB, free: 75.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/6.746, allocations: 0.8656 MB / 3.271 GB, free: 74.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/6.746, allocations: 0.9518 MB / 3.272 GB, free: 73.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003884/6.747, allocations: 100.3 kB / 3.272 GB, free: 73.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/6.747, allocations: 213.8 kB / 3.273 GB, free: 73.03 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/6.747, allocations: 0 / 3.273 GB, free: 73.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05004/6.797, allocations: 24.5 MB / 3.296 GB, free: 48.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/6.797, allocations: 223.6 kB / 3.297 GB, free: 48.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/9.849, allocations: 10.48 kB / 3.297 GB, free: 48.31 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)