Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json 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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5411/0.722, allocations: 173.2 MB / 0.7667 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008918/0.7309, allocations: 5.368 MB / 0.7719 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.7322, allocations: 35.75 kB / 0.772 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.7334, allocations: 385.5 kB / 0.7723 GB, free: 9.094 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00332/0.7367, allocations: 1.213 MB / 0.7735 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.7395, allocations: 0.8847 MB / 0.7744 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003572/0.7431, allocations: 2.933 MB / 0.7772 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.7444, allocations: 0.6923 MB / 0.7779 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.7464, allocations: 0.8441 MB / 0.7787 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.748, allocations: 0.7788 MB / 0.7795 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.7482, allocations: 40 kB / 0.7795 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.7507, allocations: 0.8964 MB / 0.7804 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.7514, allocations: 434.7 kB / 0.7808 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.7519, allocations: 253.1 kB / 0.7811 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.7541, allocations: 1.539 MB / 0.7826 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7541, allocations: 0 / 0.7826 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7541, allocations: 0 / 0.7826 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.162e-05/0.7542, allocations: 0 / 0.7826 GB, free: 14.57 MB / 0.6075 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.002519/0.7567, allocations: 1.258 MB / 0.7838 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7567, allocations: 12.03 kB / 0.7838 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002973/0.757, allocations: 147.1 kB / 0.784 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.7591, allocations: 338.3 kB / 0.7843 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.7606, allocations: 0.7504 MB / 0.785 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.7609, allocations: 133.9 kB / 0.7851 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.7611, allocations: 91.84 kB / 0.7852 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.7631, allocations: 1.068 MB / 0.7863 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.7632, allocations: 0 / 0.7863 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.7633, allocations: 32 kB / 0.7863 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.7633, allocations: 41.94 kB / 0.7863 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.765, allocations: 0.8392 MB / 0.7872 GB, free: 9.75 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006988/0.772, allocations: 4.071 MB / 0.7911 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.7726, allocations: 364.9 kB / 0.7915 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.7729, allocations: 209.3 kB / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.7731, allocations: 109 kB / 0.7918 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.7732, allocations: 38.56 kB / 0.7918 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.515e-06/0.7732, allocations: 0 / 0.7918 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002745/0.7759, allocations: 1.319 MB / 0.7931 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.776, allocations: 59.41 kB / 0.7932 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.7775, allocations: 0.9921 MB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.7776, allocations: 33.7 kB / 0.7942 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.778, allocations: 495.3 kB / 0.7946 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.7781, allocations: 138 kB / 0.7948 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.7782, allocations: 12 kB / 0.7948 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7783, allocations: 329.9 kB / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.7788, allocations: 241.1 kB / 0.7953 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.7793, allocations: 401.3 kB / 0.7957 GB, free: 0.5195 MB / 0.6075 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.001884/0.7812, allocations: 0.7467 MB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.7813, allocations: 0 / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00137/0.7826, allocations: 0.7592 MB / 0.7972 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.7827, allocations: 8 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.7827, allocations: 6 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.7827, allocations: 8 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.7833, allocations: 140.1 kB / 0.7973 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.7833, allocations: 16.47 kB / 0.7974 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.7843, allocations: 95.78 kB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.7843, allocations: 31.98 kB / 0.7975 GB, free: 14.7 MB / 0.6231 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 () * Number of clocked 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.0004431/0.7848, allocations: 305.6 kB / 0.7978 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.785, allocations: 98.88 kB / 0.7979 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.7852, allocations: 101 kB / 0.798 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7852, allocations: 7.984 kB / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.7852, allocations: 0 / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006898/0.7859, allocations: 0.6806 MB / 0.7986 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.7884, allocations: 1.589 MB / 0.8002 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.7884, allocations: 4 kB / 0.8002 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.7888, allocations: 88.34 kB / 0.8003 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.7889, allocations: 11.98 kB / 0.8003 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.7889, allocations: 12.81 kB / 0.8003 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.7889, allocations: 7.938 kB / 0.8003 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.7889, allocations: 11.94 kB / 0.8003 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.79, allocations: 0.8329 MB / 0.8011 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.7904, allocations: 243.8 kB / 0.8014 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.7906, allocations: 12 kB / 0.8014 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.7913, allocations: 59 kB / 0.8014 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.7914, allocations: 39.86 kB / 0.8015 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.7915, allocations: 27.98 kB / 0.8015 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001161/0.7926, allocations: 0.7034 MB / 0.8022 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7926, allocations: 0 / 0.8022 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009018/0.7936, allocations: 252 kB / 0.8024 GB, free: 9.34 MB / 0.6231 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 () * Number of clocked 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.001773/0.7953, allocations: 1.479 MB / 0.8039 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009459/0.7963, allocations: 497.1 kB / 0.8043 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.7963, allocations: 8.188 kB / 0.8043 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.7966, allocations: 187.6 kB / 0.8045 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.7993, allocations: 0.5965 MB / 0.8051 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009678/0.8089, allocations: 5.847 MB / 0.8108 GB, free: 428 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/0.8097, allocations: 1.095 MB / 0.8119 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009841/0.8107, allocations: 237.7 kB / 0.8121 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.8113, allocations: 347.3 kB / 0.8124 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.8113, allocations: 0 / 0.8124 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.8618, allocations: 27.22 MB / 0.839 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.8621, allocations: 259.6 kB / 0.8393 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.242, allocations: 3.938 kB / 0.8393 GB, free: 3.676 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: