Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001061/0.001061, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5145/0.5145, allocations: 90.91 MB / 99.34 MB, free: 2.199 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.555/1.555, allocations: 221.5 MB / 343.2 MB, free: 1.574 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.001035/0.001035, allocations: 99.88 kB / 416 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.9e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1705, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.433/5.604, allocations: 1.873 GB / 2.426 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/5.604, allocations: 87.33 kB / 2.426 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.297/7.901, allocations: 0.5658 GB / 2.992 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.093e-06/7.901, allocations: 0 / 2.992 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.227e-05/7.901, allocations: 33.7 kB / 2.992 GB, free: 114.6 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002182/7.904, allocations: 1.241 MB / 2.993 GB, free: 114 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/7.904, allocations: 10.62 kB / 2.993 GB, free: 114 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/7.905, allocations: 326.6 kB / 2.994 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/7.907, allocations: 0.7845 MB / 2.994 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/7.907, allocations: 104.1 kB / 2.995 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.606e-05/7.907, allocations: 50.72 kB / 2.995 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/7.908, allocations: 0.6859 MB / 2.995 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/7.909, allocations: 0.8666 MB / 2.996 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/7.909, allocations: 4.625 kB / 2.996 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/7.91, allocations: 3.391 kB / 2.996 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/7.91, allocations: 36.09 kB / 2.996 GB, free: 113.5 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.004522/7.914, allocations: 3.811 MB / 3 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/7.915, allocations: 343.7 kB / 3 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/7.915, allocations: 191.2 kB / 3 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/7.915, allocations: 102.8 kB / 3 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/7.915, allocations: 37.97 kB / 3.001 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.296e-06/7.915, allocations: 0 / 3.001 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.002027/7.917, allocations: 1.099 MB / 3.002 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/7.917, allocations: 54.78 kB / 3.002 GB, free: 111 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/7.918, allocations: 0.5571 MB / 3.002 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/7.918, allocations: 27.77 kB / 3.002 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/7.918, allocations: 0.4995 MB / 3.003 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/7.918, allocations: 131.9 kB / 3.003 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/7.918, allocations: 3.609 kB / 3.003 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/7.918, allocations: 377 kB / 3.003 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/7.919, allocations: 194.4 kB / 3.003 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/7.919, allocations: 356.9 kB / 3.004 GB, free: 110.1 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/7.921, allocations: 0.6974 MB / 3.004 GB, free: 110 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/7.921, allocations: 0 / 3.004 GB, free: 110 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009163/7.922, allocations: 0.6126 MB / 3.005 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/7.922, allocations: 7.188 kB / 3.005 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/7.922, allocations: 7.594 kB / 3.005 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/7.922, allocations: 12.84 kB / 3.005 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/7.922, allocations: 145.1 kB / 3.005 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/7.922, allocations: 17.66 kB / 3.005 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/7.923, allocations: 84.86 kB / 3.005 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/7.923, allocations: 26.31 kB / 3.005 GB, free: 109.9 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001264/7.923, allocations: 130.4 kB / 3.005 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005084/7.924, allocations: 384.3 kB / 3.006 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/7.924, allocations: 76.72 kB / 3.006 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/7.924, allocations: 81.44 kB / 3.006 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/7.924, allocations: 7.328 kB / 3.006 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/7.924, allocations: 3.609 kB / 3.006 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004569/7.925, allocations: 0.6454 MB / 3.007 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/7.927, allocations: 1.428 MB / 3.008 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/7.927, allocations: 6.562 kB / 3.008 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/7.927, allocations: 84.84 kB / 3.008 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/7.927, allocations: 6.5 kB / 3.008 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/7.927, allocations: 4.781 kB / 3.008 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/7.927, allocations: 10.28 kB / 3.008 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/7.927, allocations: 10.55 kB / 3.008 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/7.928, allocations: 0.9495 MB / 3.009 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/7.928, allocations: 211.2 kB / 3.009 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/7.928, allocations: 14.5 kB / 3.009 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/7.929, allocations: 51.31 kB / 3.009 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/7.929, allocations: 32.03 kB / 3.009 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/7.929, allocations: 32.12 kB / 3.009 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004395/7.93, allocations: 434.9 kB / 3.01 GB, free: 108 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/7.93, allocations: 0 / 3.01 GB, free: 108 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001112/7.931, allocations: 328.8 kB / 3.01 GB, free: 108 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.003243/7.934, allocations: 3.981 MB / 3.014 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006815/7.935, allocations: 427.8 kB / 3.014 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/7.935, allocations: 3.844 kB / 3.014 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/7.935, allocations: 170.5 kB / 3.015 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/7.937, allocations: 407.1 kB / 3.015 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/7.939, allocations: 1.599 MB / 3.016 GB, free: 105 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/7.94, allocations: 1.119 MB / 3.018 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000724/7.941, allocations: 202 kB / 3.018 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/7.941, allocations: 333.9 kB / 3.018 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/7.941, allocations: 2.625 kB / 3.018 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05753/7.999, allocations: 30.06 MB / 3.047 GB, free: 102 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/7.999, allocations: 192.1 kB / 3.048 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/11.03, allocations: 0 / 3.048 GB, free: 101.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)