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.001032/0.001032, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 282.8 kB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9015/0.9015, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 101.2 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1323, allocations: 86.97 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4366/0.5689, allocations: 187.1 MB / 0.863 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.5821, allocations: 13.01 MB / 0.8757 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009399/0.5831, allocations: 29.69 kB / 0.8757 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.5842, allocations: 422.6 kB / 0.8761 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.5862, allocations: 0.9197 MB / 0.877 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.5879, allocations: 0.7039 MB / 0.8777 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.5893, allocations: 1.508 MB / 0.8792 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007071/0.59, allocations: 0.6524 MB / 0.8798 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.5933, allocations: 1.709 MB / 0.8815 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.5944, allocations: 0.5094 MB / 0.882 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.5945, allocations: 64.7 kB / 0.882 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.5958, allocations: 0.8593 MB / 0.8829 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.5961, allocations: 284 kB / 0.8831 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.5964, allocations: 391.6 kB / 0.8835 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.5977, allocations: 1.157 MB / 0.8847 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5977, allocations: 0 / 0.8847 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5977, allocations: 0 / 0.8847 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.5977, allocations: 0 / 0.8847 GB, free: 2.258 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.001227/0.599, allocations: 1.055 MB / 0.8857 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.599, allocations: 7.75 kB / 0.8857 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.612e-05/0.5991, allocations: 100.9 kB / 0.8858 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.6, allocations: 190.9 kB / 0.886 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007179/0.6007, allocations: 0.5204 MB / 0.8865 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.6011, allocations: 98.78 kB / 0.8866 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.6012, allocations: 63.98 kB / 0.8866 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6023, allocations: 0.7789 MB / 0.8874 GB, free: 104 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6023, allocations: 6.719 kB / 0.8874 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.6024, allocations: 31.28 kB / 0.8874 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.6024, allocations: 21.19 kB / 0.8874 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.6033, allocations: 468.9 kB / 0.8879 GB, free: 15.85 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.00323/0.6065, allocations: 4.41 MB / 0.8922 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.6067, allocations: 109 kB / 0.8923 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.6067, allocations: 68.97 kB / 0.8924 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.6069, allocations: 97.75 kB / 0.8925 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6069, allocations: 41.41 kB / 0.8925 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.607, allocations: 0 / 0.8925 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005842/0.6075, allocations: 237.3 kB / 0.8927 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.6076, allocations: 135.2 kB / 0.8929 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009855/0.6086, allocations: 0.8465 MB / 0.8937 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.6086, allocations: 31.92 kB / 0.8937 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.6089, allocations: 404.3 kB / 0.8941 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.609, allocations: 38.98 kB / 0.8941 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.6091, allocations: 91.91 kB / 0.8942 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.6092, allocations: 324.2 kB / 0.8945 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.6095, allocations: 117.6 kB / 0.8946 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.6099, allocations: 373.4 kB / 0.895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.6105, allocations: 447.7 kB / 0.8954 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6105, allocations: 2.094 kB / 0.8954 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008807/0.6114, allocations: 0.4952 MB / 0.8959 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6114, allocations: 18.33 kB / 0.8959 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6114, allocations: 7.719 kB / 0.8959 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6114, allocations: 10.06 kB / 0.896 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.6117, allocations: 100.5 kB / 0.896 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.6118, allocations: 13.91 kB / 0.8961 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.6124, allocations: 125 kB / 0.8962 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.6124, allocations: 24.47 kB / 0.8962 GB, free: 8.605 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002164/0.6127, allocations: 232.6 kB / 0.8964 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.6128, allocations: 77.72 kB / 0.8965 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.486e-05/0.6129, allocations: 71.61 kB / 0.8966 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6129, allocations: 2.281 kB / 0.8966 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6129, allocations: 2.469 kB / 0.8966 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6129, allocations: 7.922 kB / 0.8966 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.6141, allocations: 1.123 MB / 0.8977 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6142, allocations: 3.031 kB / 0.8977 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.6142, allocations: 18.72 kB / 0.8977 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.6143, allocations: 6.828 kB / 0.8977 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.6143, allocations: 8.906 kB / 0.8977 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6143, allocations: 1.969 kB / 0.8977 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6143, allocations: 7.156 kB / 0.8977 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.6145, allocations: 258.6 kB / 0.898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.6147, allocations: 166.8 kB / 0.8981 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.6148, allocations: 12.77 kB / 0.8981 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.6152, allocations: 20.11 kB / 0.8982 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.6152, allocations: 21.58 kB / 0.8982 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.6152, allocations: 5.062 kB / 0.8982 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007232/0.6159, allocations: 0.5945 MB / 0.8988 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6159, allocations: 0 / 0.8988 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004978/0.6164, allocations: 158 kB / 0.8989 GB, free: 6.5 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.0007874/0.6172, allocations: 0.8944 MB / 0.8998 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.6178, allocations: 245.4 kB / 0.9 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6178, allocations: 4.062 kB / 0.9 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.585e-05/0.6178, allocations: 47.84 kB / 0.9001 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6194, allocations: 381.8 kB / 0.9004 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/0.6259, allocations: 5.725 MB / 0.906 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.6264, allocations: 0.937 MB / 0.9069 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000472/0.6269, allocations: 154.1 kB / 0.9071 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.6272, allocations: 231.4 kB / 0.9073 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.6272, allocations: 4 kB / 0.9073 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.6633, allocations: 17.83 MB / 0.9247 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/8.258, allocations: 22.95 kB / 0.9247 GB, free: 12.04 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)