Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001232/0.001232, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001527/0.001527, allocations: 177.3 kB / 15.94 MB, free: 228 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.481/1.481, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.083/1.083, allocations: 143.3 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003576, allocations: 8 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2083, allocations: 83.42 MB / 0.5974 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6193/0.8276, allocations: 158.3 MB / 0.7519 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009796/0.8374, allocations: 5.64 MB / 0.7574 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.8389, allocations: 35.75 kB / 0.7575 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.8407, allocations: 0.5636 MB / 0.758 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.8465, allocations: 1.659 MB / 0.7596 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.8505, allocations: 1.192 MB / 0.7608 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.8538, allocations: 1.684 MB / 0.7625 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.8551, allocations: 0.8167 MB / 0.7632 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.8568, allocations: 0.7708 MB / 0.764 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009111/0.8577, allocations: 0.611 MB / 0.7646 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.8578, allocations: 55.88 kB / 0.7647 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.8599, allocations: 0.6124 MB / 0.7652 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005349/0.8604, allocations: 458.8 kB / 0.7657 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.8608, allocations: 277.1 kB / 0.766 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.863, allocations: 1.628 MB / 0.7675 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.863, allocations: 0 / 0.7675 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.236e-06/0.863, allocations: 0 / 0.7675 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.228e-05/0.863, allocations: 4 kB / 0.7675 GB, free: 13.63 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002753/0.8658, allocations: 1.364 MB / 0.7689 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.8659, allocations: 8.031 kB / 0.7689 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.8661, allocations: 156.2 kB / 0.769 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.8681, allocations: 335 kB / 0.7694 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.8698, allocations: 0.8478 MB / 0.7702 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/0.8699, allocations: 74 kB / 0.7703 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.8701, allocations: 96 kB / 0.7703 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.872, allocations: 1.077 MB / 0.7714 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.872, allocations: 0 / 0.7714 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.8721, allocations: 44 kB / 0.7714 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.8722, allocations: 37.98 kB / 0.7715 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.8739, allocations: 0.9993 MB / 0.7724 GB, free: 8.504 MB / 0.5919 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.006498/0.8804, allocations: 4.253 MB / 0.7766 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.8813, allocations: 0.6006 MB / 0.7772 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.8814, allocations: 20.41 kB / 0.7772 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.8814, allocations: 43 kB / 0.7772 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.384e-06/0.8814, allocations: 0 / 0.7772 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004141/0.8856, allocations: 2.225 MB / 0.7794 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.8856, allocations: 55.97 kB / 0.7795 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.8867, allocations: 0.8765 MB / 0.7803 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.8867, allocations: 37.7 kB / 0.7804 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.8871, allocations: 0.5145 MB / 0.7809 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8873, allocations: 189.3 kB / 0.781 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.8873, allocations: 20 kB / 0.7811 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8875, allocations: 333.9 kB / 0.7814 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.8879, allocations: 285.8 kB / 0.7817 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.8885, allocations: 433 kB / 0.7821 GB, free: 14.13 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.002945/0.8915, allocations: 1.103 MB / 0.7832 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8915, allocations: 0 / 0.7832 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001795/0.8933, allocations: 0.9334 MB / 0.7841 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.8933, allocations: 12 kB / 0.7841 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.8934, allocations: 4 kB / 0.7841 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.8936, allocations: 98.45 kB / 0.7842 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.8944, allocations: 175.8 kB / 0.7843 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.8988, allocations: 4.334 MB / 0.7886 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.9001, allocations: 74.23 kB / 0.7886 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.9002, allocations: 31.98 kB / 0.7887 GB, free: 6.941 MB / 0.6075 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: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007129/0.9009, allocations: 346 kB / 0.789 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.9011, allocations: 102.8 kB / 0.7891 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.9013, allocations: 109.2 kB / 0.7892 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9013, allocations: 4 kB / 0.7892 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9013, allocations: 0 / 0.7892 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.9025, allocations: 0.7808 MB / 0.79 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.9061, allocations: 2 MB / 0.7919 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.9062, allocations: 4 kB / 0.7919 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.9069, allocations: 160.2 kB / 0.7921 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.907, allocations: 36.83 kB / 0.7921 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.907, allocations: 16 kB / 0.7921 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.9086, allocations: 1.506 MB / 0.7936 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9086, allocations: 4 kB / 0.7936 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.9116, allocations: 1.38 MB / 0.795 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.9126, allocations: 255.9 kB / 0.7952 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.9129, allocations: 15.98 kB / 0.7952 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.9141, allocations: 71.17 kB / 0.7953 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.9143, allocations: 47.83 kB / 0.7953 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9144, allocations: 35.98 kB / 0.7954 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001338/0.9158, allocations: 0.6044 MB / 0.796 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9158, allocations: 0 / 0.796 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001871/0.9177, allocations: 304 kB / 0.7962 GB, free: 14.74 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004196/0.9219, allocations: 2.906 MB / 0.7991 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.9244, allocations: 1.01 MB / 0.8001 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.9244, allocations: 0 / 0.8001 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.9254, allocations: 451.6 kB / 0.8005 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/0.9297, allocations: 0.6147 MB / 0.8011 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/0.9492, allocations: 8.606 MB / 0.8095 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.9508, allocations: 1.19 MB / 0.8107 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002159/0.953, allocations: 258.8 kB / 0.8109 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/0.954, allocations: 379.3 kB / 0.8113 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of SimCode: time 1.573e-06/0.954, allocations: 0 / 0.8113 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09238/1.046, allocations: 29.92 MB / 0.8405 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003962/1.047, allocations: 290.8 kB / 0.8408 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.379, allocations: 2.531 kB / 0.8408 GB, free: 1.211 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: