Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_Buildings_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.001602/0.001602, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001727/0.001727, allocations: 197.3 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.52/1.52, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.52 kB / 0.6709 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1701, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4935/0.6636, allocations: 188.2 MB / 0.9666 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006792/0.6704, allocations: 5.714 MB / 0.9721 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.6711, allocations: 33.75 kB / 0.9722 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.6722, allocations: 0.4986 MB / 0.9727 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.6752, allocations: 1.723 MB / 0.9744 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.6772, allocations: 1.066 MB / 0.9754 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002941/0.6802, allocations: 4.063 MB / 0.9794 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.6811, allocations: 0.965 MB / 0.9803 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.6822, allocations: 0.8923 MB / 0.9812 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.6837, allocations: 0.9992 MB / 0.9821 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.6838, allocations: 64.41 kB / 0.9822 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.6863, allocations: 1.639 MB / 0.9838 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.6868, allocations: 0.5113 MB / 0.9843 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005979/0.6874, allocations: 0.6537 MB / 0.9849 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.6894, allocations: 2.348 MB / 0.9872 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6894, allocations: 0 / 0.9872 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6894, allocations: 2.656 kB / 0.9872 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.6894, allocations: 0 / 0.9872 GB, free: 4.223 MB / 0.7325 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.002141/0.6916, allocations: 1.622 MB / 0.9888 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.6916, allocations: 8.75 kB / 0.9888 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.6918, allocations: 153.3 kB / 0.989 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.6935, allocations: 326 kB / 0.9893 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.6947, allocations: 0.8617 MB / 0.9901 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.6947, allocations: 73.69 kB / 0.9902 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.6949, allocations: 103.8 kB / 0.9903 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.6964, allocations: 1.099 MB / 0.9914 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.6964, allocations: 0 / 0.9914 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.6965, allocations: 42.09 kB / 0.9914 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.6966, allocations: 41.33 kB / 0.9915 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.6978, allocations: 0.9887 MB / 0.9924 GB, free: 18.36 MB / 0.7481 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.004541/0.7024, allocations: 4.223 MB / 0.9965 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.7031, allocations: 0.5994 MB / 0.9971 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.7035, allocations: 340.5 kB / 0.9975 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.7036, allocations: 108.1 kB / 0.9976 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7037, allocations: 39.44 kB / 0.9976 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 1.623e-06/0.7037, allocations: 4 kB / 0.9976 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55): time 0.003167/0.7069, allocations: 2.195 MB / 0.9997 GB, free: 14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.7069, allocations: 60.19 kB / 0.9998 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008326/0.7078, allocations: 0.874 MB / 1.001 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.7078, allocations: 42.2 kB / 1.001 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.7081, allocations: 0.516 MB / 1.001 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.7083, allocations: 203.5 kB / 1.001 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.7085, allocations: 128 kB / 1.002 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7086, allocations: 334.6 kB / 1.002 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.709, allocations: 283.8 kB / 1.002 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.7096, allocations: 448.9 kB / 1.003 GB, free: 12.24 MB / 0.7481 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.003447/0.713, allocations: 1.729 MB / 1.004 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.713, allocations: 6.531 kB / 1.004 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001248/0.7143, allocations: 0.9234 MB / 1.005 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.7143, allocations: 7.344 kB / 1.005 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.7143, allocations: 9.219 kB / 1.005 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.7145, allocations: 95.95 kB / 1.005 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.7151, allocations: 164.4 kB / 1.005 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.718, allocations: 4.288 MB / 1.01 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/0.7188, allocations: 73.52 kB / 1.01 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.7189, allocations: 30.06 kB / 1.01 GB, free: 6.551 MB / 0.7481 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.0003899/0.7193, allocations: 339.1 kB / 1.01 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.7194, allocations: 97.38 kB / 1.01 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.7196, allocations: 109.5 kB / 1.01 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7196, allocations: 12.62 kB / 1.01 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7196, allocations: 2.531 kB / 1.01 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009247/0.7206, allocations: 0.7591 MB / 1.011 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.7232, allocations: 1.994 MB / 1.013 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.7232, allocations: 5.031 kB / 1.013 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.7238, allocations: 155.4 kB / 1.013 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-05/0.7239, allocations: 31.47 kB / 1.013 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.7239, allocations: 20.73 kB / 1.013 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.7249, allocations: 1.491 MB / 1.015 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7249, allocations: 7.969 kB / 1.015 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.7264, allocations: 1.229 MB / 1.016 GB, free: 2.031 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.7267, allocations: 259.8 kB / 1.016 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7269, allocations: 9.844 kB / 1.016 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.7276, allocations: 72.45 kB / 1.016 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.7277, allocations: 48.31 kB / 1.016 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.7277, allocations: 30.92 kB / 1.016 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006094/0.7284, allocations: 0.604 MB / 1.017 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7284, allocations: 0 / 1.017 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007406/0.7291, allocations: 309.7 kB / 1.017 GB, free: 1.387 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.002/0.7311, allocations: 1.866 MB / 1.019 GB, free: 44 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.7324, allocations: 1.003 MB / 1.02 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7324, allocations: 1 kB / 1.02 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.733, allocations: 449.1 kB / 1.02 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.7354, allocations: 0.6208 MB / 1.021 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009881/0.7452, allocations: 8.61 MB / 1.029 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.7459, allocations: 1.17 MB / 1.03 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007985/0.7467, allocations: 248 kB / 1.031 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.7471, allocations: 378.2 kB / 1.031 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of SimCode: time 4.41e-07/0.7471, allocations: 0 / 1.031 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.172/3.92, allocations: 29.15 MB / 1.06 GB, free: 12.77 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/3.92, allocations: 315.7 kB / 1.06 GB, free: 12.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/6.808, allocations: 0 / 1.06 GB, free: 12.38 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)