Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001242/0.001242, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001042/0.001042, allocations: 192.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 271 kB / 290.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8933/0.8933, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 90.53 kB / 0.5948 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.133, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4328/0.5659, allocations: 184.6 MB / 0.86 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.5794, allocations: 12.91 MB / 0.8727 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.5805, allocations: 29.12 kB / 0.8727 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5817, allocations: 356.7 kB / 0.873 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.5837, allocations: 0.8645 MB / 0.8739 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.5852, allocations: 0.6361 MB / 0.8745 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.5866, allocations: 1.5 MB / 0.8759 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006818/0.5873, allocations: 0.6169 MB / 0.8766 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.5903, allocations: 1.684 MB / 0.8782 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.5915, allocations: 0.5472 MB / 0.8787 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.5916, allocations: 55.16 kB / 0.8788 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.5928, allocations: 0.8987 MB / 0.8797 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.5931, allocations: 283 kB / 0.8799 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.5934, allocations: 388.1 kB / 0.8803 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.5946, allocations: 1.203 MB / 0.8815 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5946, allocations: 6 kB / 0.8815 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5946, allocations: 0 / 0.8815 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.5946, allocations: 0 / 0.8815 GB, free: 4.969 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001265/0.5959, allocations: 1.05 MB / 0.8825 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5959, allocations: 10 kB / 0.8825 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.954e-05/0.596, allocations: 110.1 kB / 0.8826 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.5969, allocations: 190.4 kB / 0.8828 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.5976, allocations: 0.5161 MB / 0.8833 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.5979, allocations: 106 kB / 0.8834 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.598, allocations: 55.94 kB / 0.8835 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.599, allocations: 0.7596 MB / 0.8842 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5991, allocations: 6.031 kB / 0.8842 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.5991, allocations: 31.91 kB / 0.8842 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.5992, allocations: 24.47 kB / 0.8843 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.6, allocations: 473.7 kB / 0.8847 GB, free: 2.582 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.003369/0.6034, allocations: 4.169 MB / 0.8888 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.6035, allocations: 108.7 kB / 0.8889 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.6036, allocations: 74.23 kB / 0.889 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.6038, allocations: 93.36 kB / 0.889 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6038, allocations: 40.8 kB / 0.8891 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.6038, allocations: 0 / 0.8891 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005824/0.6044, allocations: 238.2 kB / 0.8893 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.6045, allocations: 128.5 kB / 0.8894 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.6055, allocations: 0.838 MB / 0.8903 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.6055, allocations: 32.33 kB / 0.8903 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.6058, allocations: 399.8 kB / 0.8907 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.6058, allocations: 43.39 kB / 0.8907 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.6059, allocations: 86.03 kB / 0.8908 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6061, allocations: 327 kB / 0.8911 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.6063, allocations: 104.3 kB / 0.8912 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.6068, allocations: 350.6 kB / 0.8915 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.6073, allocations: 406.2 kB / 0.8919 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.6073, allocations: 2.812 kB / 0.8919 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008328/0.6081, allocations: 491.4 kB / 0.8924 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6081, allocations: 10.41 kB / 0.8924 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6081, allocations: 4.875 kB / 0.8924 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6082, allocations: 12.34 kB / 0.8924 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.6085, allocations: 99.45 kB / 0.8925 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.6085, allocations: 17.27 kB / 0.8925 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.6091, allocations: 128.2 kB / 0.8927 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.6092, allocations: 17.34 kB / 0.8927 GB, free: 11.68 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.6094, allocations: 229.4 kB / 0.8929 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6095, allocations: 73.16 kB / 0.893 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.246e-05/0.6096, allocations: 74.53 kB / 0.893 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6096, allocations: 3.062 kB / 0.893 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6097, allocations: 0 / 0.893 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6097, allocations: 6.656 kB / 0.893 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.6108, allocations: 1.125 MB / 0.8941 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6108, allocations: 2.719 kB / 0.8941 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.6109, allocations: 22.86 kB / 0.8942 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6109, allocations: 2 kB / 0.8942 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.6109, allocations: 2.844 kB / 0.8942 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6109, allocations: 6.875 kB / 0.8942 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.611, allocations: 2.5 kB / 0.8942 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.6112, allocations: 270.7 kB / 0.8944 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.6114, allocations: 171.6 kB / 0.8946 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.6115, allocations: 2.938 kB / 0.8946 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.6118, allocations: 24.55 kB / 0.8946 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.6118, allocations: 16.77 kB / 0.8946 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.6119, allocations: 2.719 kB / 0.8946 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007039/0.6126, allocations: 0.5881 MB / 0.8952 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.515e-06/0.6126, allocations: 0 / 0.8952 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004633/0.613, allocations: 155 kB / 0.8954 GB, free: 9.633 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008102/0.6139, allocations: 0.8977 MB / 0.8962 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.6143, allocations: 239.6 kB / 0.8965 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6144, allocations: 0 / 0.8965 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.6144, allocations: 48.58 kB / 0.8965 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.6159, allocations: 380 kB / 0.8969 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.6231, allocations: 5.799 MB / 0.9025 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.6235, allocations: 0.937 MB / 0.9035 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004689/0.624, allocations: 138 kB / 0.9036 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.6243, allocations: 231.4 kB / 0.9038 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.6243, allocations: 0 / 0.9038 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.393/2.017, allocations: 17.58 MB / 0.921 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/2.017, allocations: 287.4 kB / 0.9213 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/5.086, allocations: 6.562 kB / 0.9213 GB, free: 15.54 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)