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.001201/0.001201, allocations: 100.1 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.001785/0.001786, allocations: 177.3 kB / 15.95 MB, free: 216 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.506/1.506, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.102/1.102, allocations: 143.3 MB / 434.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004266, allocations: 8 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 83.41 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5979/0.8102, allocations: 158.1 MB / 0.7518 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.8213, allocations: 5.615 MB / 0.7573 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.8228, allocations: 35.75 kB / 0.7573 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.8247, allocations: 0.555 MB / 0.7578 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.8303, allocations: 1.659 MB / 0.7595 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.8341, allocations: 1.197 MB / 0.7606 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002749/0.8368, allocations: 1.464 MB / 0.762 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.8379, allocations: 0.7035 MB / 0.7627 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.8396, allocations: 0.7397 MB / 0.7635 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007866/0.8404, allocations: 0.5097 MB / 0.764 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.674e-05/0.8405, allocations: 40 kB / 0.764 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.8427, allocations: 0.8814 MB / 0.7649 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.8432, allocations: 399 kB / 0.7652 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.8435, allocations: 249.2 kB / 0.7655 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.8452, allocations: 1.511 MB / 0.767 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.8452, allocations: 0 / 0.767 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8452, allocations: 0 / 0.767 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.8453, allocations: 3.938 kB / 0.767 GB, free: 14.32 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00223/0.8475, allocations: 1.254 MB / 0.7682 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.8476, allocations: 8.031 kB / 0.7682 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.8478, allocations: 139.1 kB / 0.7683 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.8497, allocations: 350.3 kB / 0.7687 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.8511, allocations: 0.7498 MB / 0.7694 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.8515, allocations: 129.9 kB / 0.7695 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.8516, allocations: 83.91 kB / 0.7696 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.8534, allocations: 1.062 MB / 0.7706 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.8534, allocations: 0 / 0.7706 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.8535, allocations: 39.98 kB / 0.7707 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/0.8536, allocations: 37.98 kB / 0.7707 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.8551, allocations: 0.847 MB / 0.7715 GB, free: 9.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.006003/0.8611, allocations: 4.054 MB / 0.7755 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.8618, allocations: 367.2 kB / 0.7758 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.393e-05/0.8619, allocations: 8.594 kB / 0.7758 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.8619, allocations: 46.55 kB / 0.7759 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.973e-06/0.8619, allocations: 0 / 0.7759 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002747/0.8647, allocations: 1.315 MB / 0.7772 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.8647, allocations: 59.39 kB / 0.7772 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.8662, allocations: 0.9958 MB / 0.7782 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.8662, allocations: 33.7 kB / 0.7782 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.8667, allocations: 495.4 kB / 0.7787 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.8668, allocations: 138 kB / 0.7788 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.8669, allocations: 19.94 kB / 0.7789 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8671, allocations: 329.9 kB / 0.7792 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.8676, allocations: 237.2 kB / 0.7794 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.8682, allocations: 401.3 kB / 0.7798 GB, free: 0.5977 MB / 0.5919 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.001839/0.8701, allocations: 0.7352 MB / 0.7805 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8701, allocations: 4 kB / 0.7805 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00137/0.8714, allocations: 0.7568 MB / 0.7812 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.8715, allocations: 8 kB / 0.7812 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.8715, allocations: 5.312 kB / 0.7813 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.8715, allocations: 19.98 kB / 0.7813 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.8721, allocations: 135.8 kB / 0.7814 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.8721, allocations: 11.94 kB / 0.7814 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.8731, allocations: 96.42 kB / 0.7815 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.8732, allocations: 24 kB / 0.7815 GB, free: 14.79 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: 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.0004867/0.8737, allocations: 318.2 kB / 0.7818 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.8739, allocations: 102.9 kB / 0.7819 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.874, allocations: 101 kB / 0.782 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.874, allocations: 4 kB / 0.782 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.8741, allocations: 6.125 kB / 0.782 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007598/0.8748, allocations: 0.6807 MB / 0.7827 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.8773, allocations: 1.581 MB / 0.7842 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.8774, allocations: 11.94 kB / 0.7843 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.8777, allocations: 79.91 kB / 0.7843 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.8778, allocations: 8 kB / 0.7843 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.8778, allocations: 15.94 kB / 0.7844 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.8778, allocations: 11.98 kB / 0.7844 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8778, allocations: 4 kB / 0.7844 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.879, allocations: 1.048 MB / 0.7854 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.8794, allocations: 235.8 kB / 0.7856 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.8795, allocations: 16 kB / 0.7856 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.8802, allocations: 62.02 kB / 0.7857 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.8803, allocations: 31.97 kB / 0.7857 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.8804, allocations: 27.92 kB / 0.7858 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009822/0.8814, allocations: 0.7034 MB / 0.7864 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8814, allocations: 7.938 kB / 0.7864 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008654/0.8822, allocations: 252 kB / 0.7867 GB, free: 9.133 MB / 0.6075 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.002075/0.8843, allocations: 2.763 MB / 0.7894 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009329/0.8853, allocations: 491.8 kB / 0.7899 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.8853, allocations: 4 kB / 0.7899 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.8855, allocations: 189.2 kB / 0.79 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.8882, allocations: 0.5912 MB / 0.7906 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.9005, allocations: 8.935 MB / 0.7993 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/0.9014, allocations: 1.122 MB / 0.8004 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0012/0.9026, allocations: 236.2 kB / 0.8007 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.9031, allocations: 339.3 kB / 0.801 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of SimCode: time 1.303e-06/0.9031, allocations: 0 / 0.801 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04962/0.9528, allocations: 27.2 MB / 0.8275 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.953, allocations: 261.3 kB / 0.8278 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.238, allocations: 4 kB / 0.8278 GB, free: 15.01 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: