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.001759/0.001759, allocations: 99.94 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.002049/0.002049, 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.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 12 kB / 0.5159 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 83.41 MB / 0.5974 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5143/0.7346, allocations: 155.8 MB / 0.7495 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.7508, allocations: 10.93 MB / 0.7602 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.7523, allocations: 27.81 kB / 0.7602 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.7542, allocations: 433.9 kB / 0.7606 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.7583, allocations: 1.049 MB / 0.7616 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.7612, allocations: 0.8214 MB / 0.7625 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002434/0.7636, allocations: 1.176 MB / 0.7636 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7647, allocations: 0.6133 MB / 0.7642 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.7681, allocations: 1.211 MB / 0.7654 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008165/0.7689, allocations: 430.3 kB / 0.7658 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.769, allocations: 32 kB / 0.7658 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.7703, allocations: 423.2 kB / 0.7662 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.7707, allocations: 307.2 kB / 0.7665 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.771, allocations: 209.2 kB / 0.7667 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.7722, allocations: 1.036 MB / 0.7677 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7722, allocations: 4 kB / 0.7677 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7722, allocations: 0 / 0.7677 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.7722, allocations: 0 / 0.7677 GB, free: 13.4 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001744/0.774, allocations: 1.05 MB / 0.7688 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.774, allocations: 16.03 kB / 0.7688 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.7742, allocations: 122.5 kB / 0.7689 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.7754, allocations: 214.6 kB / 0.7691 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.7765, allocations: 0.6251 MB / 0.7697 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.7766, allocations: 62 kB / 0.7698 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.7767, allocations: 72 kB / 0.7698 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.7781, allocations: 0.9209 MB / 0.7707 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.7781, allocations: 4.5 kB / 0.7707 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.7782, allocations: 32 kB / 0.7708 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.7782, allocations: 29.27 kB / 0.7708 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009742/0.7792, allocations: 0.6177 MB / 0.7714 GB, free: 9.461 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.004569/0.7838, allocations: 4.586 MB / 0.7759 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.7846, allocations: 0.5426 MB / 0.7764 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.625e-05/0.7847, allocations: 18.38 kB / 0.7764 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.7847, allocations: 42.5 kB / 0.7765 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.7847, allocations: 0 / 0.7765 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002802/0.7876, allocations: 1.583 MB / 0.778 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.7876, allocations: 106.8 kB / 0.7781 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.7885, allocations: 0.7077 MB / 0.7788 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.7885, allocations: 37.64 kB / 0.7788 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.7889, allocations: 415.9 kB / 0.7792 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.789, allocations: 169.7 kB / 0.7794 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.789, allocations: 8 kB / 0.7794 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7892, allocations: 326 kB / 0.7797 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.7895, allocations: 185.2 kB / 0.7799 GB, free: 320 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.7899, allocations: 409 kB / 0.7803 GB, free: 15.82 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.7916, allocations: 0.6806 MB / 0.7809 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.7916, allocations: 4 kB / 0.781 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009951/0.7926, allocations: 0.6655 MB / 0.7816 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.7926, allocations: 12.12 kB / 0.7816 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.7926, allocations: 15.06 kB / 0.7816 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7927, allocations: 8 kB / 0.7816 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.7931, allocations: 127.8 kB / 0.7818 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.7931, allocations: 15.92 kB / 0.7818 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.7938, allocations: 56.91 kB / 0.7818 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.7938, allocations: 28 kB / 0.7819 GB, free: 14.19 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: 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.000388/0.7942, allocations: 278.9 kB / 0.7821 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.7944, allocations: 86.97 kB / 0.7822 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.7946, allocations: 87.66 kB / 0.7823 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.7946, allocations: 4.094 kB / 0.7823 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.7946, allocations: 8 kB / 0.7823 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007515/0.7953, allocations: 0.6999 MB / 0.783 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.7979, allocations: 1.635 MB / 0.7846 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7979, allocations: 8.062 kB / 0.7846 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.7984, allocations: 95.89 kB / 0.7847 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.7984, allocations: 15.89 kB / 0.7847 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.7984, allocations: 12 kB / 0.7847 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.7985, allocations: 7.984 kB / 0.7847 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7985, allocations: 8 kB / 0.7847 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.7997, allocations: 1.053 MB / 0.7857 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.8001, allocations: 208.1 kB / 0.7859 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.8002, allocations: 12 kB / 0.786 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.8007, allocations: 35.97 kB / 0.786 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.8008, allocations: 43.84 kB / 0.786 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.8008, allocations: 16.81 kB / 0.786 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006528/0.8015, allocations: 0.5029 MB / 0.7865 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8015, allocations: 0 / 0.7865 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008113/0.8023, allocations: 204 kB / 0.7867 GB, free: 8.824 MB / 0.6075 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.002609/0.8049, allocations: 2.795 MB / 0.7895 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009122/0.8059, allocations: 469.7 kB / 0.7899 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.8059, allocations: 7.938 kB / 0.7899 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.8062, allocations: 208.7 kB / 0.7901 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.8082, allocations: 440.8 kB / 0.7905 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00947/0.8177, allocations: 9.023 MB / 0.7993 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/0.8184, allocations: 1.044 MB / 0.8004 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008122/0.8193, allocations: 195.8 kB / 0.8006 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.8197, allocations: 303.3 kB / 0.8008 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of SimCode: time 1.193e-06/0.8197, allocations: 0 / 0.8008 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/0.8644, allocations: 21.58 MB / 0.8219 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.8647, allocations: 273.1 kB / 0.8222 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.178, allocations: 0 / 0.8222 GB, free: 4.508 MB / 0.6387 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: