Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.0008155/0.0008156, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0009621/0.0009622, allocations: 168.7 kB / 15.95 MB, free: 204 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.4/1.4, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.055/1.055, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003608, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 83.42 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.516/0.7, allocations: 170.4 MB / 0.7639 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.7155, allocations: 12.17 MB / 0.7758 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.7166, allocations: 27.81 kB / 0.7758 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.7177, allocations: 286.1 kB / 0.7761 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.7202, allocations: 0.8902 MB / 0.777 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.7217, allocations: 0.5237 MB / 0.7775 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.724, allocations: 2.351 MB / 0.7798 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007747/0.7248, allocations: 0.6089 MB / 0.7804 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.7278, allocations: 1.354 MB / 0.7817 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009378/0.7288, allocations: 0.6187 MB / 0.7823 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.389e-05/0.7289, allocations: 36 kB / 0.7824 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.7301, allocations: 455 kB / 0.7828 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.7305, allocations: 335 kB / 0.7831 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.7307, allocations: 209.1 kB / 0.7833 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.7318, allocations: 1.075 MB / 0.7844 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7318, allocations: 0 / 0.7844 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7318, allocations: 0 / 0.7844 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7318, allocations: 0 / 0.7844 GB, free: 12.75 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001523/0.7334, allocations: 1.062 MB / 0.7854 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7334, allocations: 12.03 kB / 0.7854 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.7335, allocations: 122.5 kB / 0.7855 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.7346, allocations: 223.3 kB / 0.7857 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.7356, allocations: 0.6134 MB / 0.7863 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.7356, allocations: 58 kB / 0.7864 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.7357, allocations: 87.92 kB / 0.7865 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.737, allocations: 0.9287 MB / 0.7874 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.737, allocations: 0 / 0.7874 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.7371, allocations: 32 kB / 0.7874 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.7372, allocations: 33.27 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000882/0.7381, allocations: 0.6207 MB / 0.788 GB, free: 8.785 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.003903/0.742, allocations: 4.586 MB / 0.7925 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.7427, allocations: 0.5384 MB / 0.7931 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.743, allocations: 252.9 kB / 0.7933 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.7432, allocations: 101.1 kB / 0.7934 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.7432, allocations: 46.48 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.7432, allocations: 0 / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002554/0.7458, allocations: 1.577 MB / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.7459, allocations: 110.8 kB / 0.7951 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.7466, allocations: 0.7038 MB / 0.7958 GB, free: 436 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.7467, allocations: 37.7 kB / 0.7958 GB, free: 392 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.747, allocations: 419.8 kB / 0.7962 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.7471, allocations: 161.7 kB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.7471, allocations: 24 kB / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7473, allocations: 325.9 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.7475, allocations: 185.2 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.748, allocations: 413 kB / 0.7973 GB, free: 14.78 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.7494, allocations: 0.6739 MB / 0.7979 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7494, allocations: 0 / 0.7979 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008961/0.7503, allocations: 0.6659 MB / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7504, allocations: 8.781 kB / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.7504, allocations: 8.625 kB / 0.7986 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.7504, allocations: 12 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.7508, allocations: 123.8 kB / 0.7987 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.7509, allocations: 11.94 kB / 0.7987 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.7514, allocations: 63.8 kB / 0.7988 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.7514, allocations: 24 kB / 0.7988 GB, free: 13.17 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003385/0.7518, allocations: 283 kB / 0.7991 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.7519, allocations: 82.97 kB / 0.7992 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.7521, allocations: 95.66 kB / 0.7993 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7521, allocations: 4 kB / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.7521, allocations: 0 / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006575/0.7528, allocations: 0.696 MB / 0.7999 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.7549, allocations: 1.638 MB / 0.8015 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7549, allocations: 4 kB / 0.8015 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.7554, allocations: 104.3 kB / 0.8016 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.7554, allocations: 8 kB / 0.8016 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.7554, allocations: 19.94 kB / 0.8017 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.7554, allocations: 8.609 kB / 0.8017 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7554, allocations: 7.938 kB / 0.8017 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.7565, allocations: 0.8586 MB / 0.8025 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.7567, allocations: 212.1 kB / 0.8027 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.7568, allocations: 19.95 kB / 0.8027 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.7573, allocations: 41.41 kB / 0.8028 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.7573, allocations: 35.86 kB / 0.8028 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.7574, allocations: 23.98 kB / 0.8028 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005694/0.758, allocations: 0.5029 MB / 0.8033 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.758, allocations: 3.938 kB / 0.8033 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007082/0.7587, allocations: 200 kB / 0.8035 GB, free: 8.074 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001607/0.7603, allocations: 1.491 MB / 0.805 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007813/0.7611, allocations: 468.3 kB / 0.8054 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7611, allocations: 5.562 kB / 0.8054 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.7614, allocations: 209.1 kB / 0.8056 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.7633, allocations: 454.1 kB / 0.8061 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/0.7703, allocations: 5.012 MB / 0.811 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.771, allocations: 1.036 MB / 0.812 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007506/0.7717, allocations: 199.6 kB / 0.8122 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.7721, allocations: 300.9 kB / 0.8124 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.7721, allocations: 0 / 0.8124 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.8103, allocations: 21.62 MB / 0.8336 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.8105, allocations: 273 kB / 0.8338 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.089, allocations: 0 / 0.8338 GB, free: 9.137 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: