Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.004999/0.004999, allocations: 101.8 kB / 15.73 MB, free: 6 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.001127/0.001127, allocations: 194 kB / 16.67 MB, free: 5.926 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 298.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8999/0.8999, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 99.84 kB / 0.681 GB, free: 7.426 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4281, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1973/0.6254, allocations: 190.4 MB / 0.9519 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.425/1.05, allocations: 5.712 MB / 0.9575 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/1.052, allocations: 42.28 kB / 0.9575 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/1.054, allocations: 0.5643 MB / 0.9581 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005078/1.059, allocations: 1.834 MB / 0.9599 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003297/1.062, allocations: 1.184 MB / 0.961 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005493/1.068, allocations: 2.947 MB / 0.9639 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/1.07, allocations: 1.121 MB / 0.965 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/1.072, allocations: 1.055 MB / 0.966 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/1.074, allocations: 0.9633 MB / 0.967 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/1.074, allocations: 122.9 kB / 0.9671 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/1.078, allocations: 1.449 MB / 0.9685 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005334/1.078, allocations: 0.5704 MB / 0.9691 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008591/1.079, allocations: 0.7223 MB / 0.9698 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/1.082, allocations: 2.335 MB / 0.972 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.082, allocations: 3.562 kB / 0.972 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/1.082, allocations: 0.8125 kB / 0.9721 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.909e-05/1.082, allocations: 1.094 kB / 0.9721 GB, free: 1.566 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002383/1.084, allocations: 1.62 MB / 0.9736 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.084, allocations: 10.88 kB / 0.9736 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/1.084, allocations: 157.8 kB / 0.9738 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/1.086, allocations: 331.8 kB / 0.9741 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/1.088, allocations: 0.9102 MB / 0.975 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/1.088, allocations: 72.91 kB / 0.9751 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.088, allocations: 99.36 kB / 0.9752 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/1.089, allocations: 1.081 MB / 0.9762 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.089, allocations: 0 / 0.9762 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/1.09, allocations: 46.61 kB / 0.9763 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/1.09, allocations: 46.03 kB / 0.9763 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/1.091, allocations: 0.9903 MB / 0.9773 GB, free: 16.25 MB / 0.7325 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.005507/1.097, allocations: 4.228 MB / 0.9814 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/1.097, allocations: 0.5937 MB / 0.982 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004416/1.098, allocations: 341.5 kB / 0.9823 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/1.098, allocations: 103.1 kB / 0.9824 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/1.098, allocations: 50.61 kB / 0.9825 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/1.098, allocations: 0 / 0.9825 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003586/1.102, allocations: 2.196 MB / 0.9846 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/1.102, allocations: 60.88 kB / 0.9847 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009481/1.103, allocations: 0.8791 MB / 0.9855 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/1.103, allocations: 40.61 kB / 0.9856 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/1.103, allocations: 0.5176 MB / 0.9861 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/1.103, allocations: 199.1 kB / 0.9863 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/1.103, allocations: 128.8 kB / 0.9864 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.104, allocations: 333.2 kB / 0.9867 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/1.104, allocations: 287.1 kB / 0.987 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/1.105, allocations: 432.3 kB / 0.9874 GB, free: 12.52 MB / 0.7325 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.003549/1.108, allocations: 1.743 MB / 0.9891 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.108, allocations: 0 / 0.9891 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001554/1.11, allocations: 0.928 MB / 0.99 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.11, allocations: 12.53 kB / 0.99 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.11, allocations: 3.25 kB / 0.99 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/1.11, allocations: 98.97 kB / 0.9901 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/1.111, allocations: 162.3 kB / 0.9903 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/1.114, allocations: 4.626 MB / 0.9948 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/1.115, allocations: 41.19 kB / 0.9948 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/1.115, allocations: 35.88 kB / 0.9948 GB, free: 8.09 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005003/1.116, allocations: 338 kB / 0.9952 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.116, allocations: 103.8 kB / 0.9953 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/1.116, allocations: 116.3 kB / 0.9954 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.116, allocations: 6.281 kB / 0.9954 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.116, allocations: 0 / 0.9954 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009356/1.117, allocations: 0.7657 MB / 0.9961 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/1.12, allocations: 1.987 MB / 0.9981 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.12, allocations: 2.344 kB / 0.9981 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/1.12, allocations: 147.9 kB / 0.9982 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/1.12, allocations: 44.8 kB / 0.9983 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/1.12, allocations: 13.41 kB / 0.9983 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/1.122, allocations: 1.607 MB / 0.9998 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.122, allocations: 6.438 kB / 0.9998 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/1.123, allocations: 1.205 MB / 1.001 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/1.124, allocations: 257.5 kB / 1.001 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.124, allocations: 12.55 kB / 1.001 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/1.125, allocations: 33.62 kB / 1.001 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.975e-05/1.125, allocations: 51.59 kB / 1.001 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/1.125, allocations: 33.22 kB / 1.001 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000698/1.125, allocations: 0.6153 MB / 1.002 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.52e-07/1.125, allocations: 0 / 1.002 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009474/1.126, allocations: 304 kB / 1.002 GB, free: 5.293 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/1.128, allocations: 1.85 MB / 1.004 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.13, allocations: 1.017 MB / 1.005 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.13, allocations: 2.125 kB / 1.005 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005377/1.13, allocations: 446.6 kB / 1.006 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.133, allocations: 0.6535 MB / 1.006 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.144, allocations: 7.93 MB / 1.014 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/1.144, allocations: 1.167 MB / 1.015 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000943/1.145, allocations: 249 kB / 1.015 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/1.146, allocations: 384.5 kB / 1.016 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/1.146, allocations: 0 / 1.016 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/1.212, allocations: 30.31 MB / 1.045 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.26, allocations: 3.75 kB / 1.045 GB, free: 13.04 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)