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.001517/0.001517, allocations: 108 kB / 15.61 MB, free: 152 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.00199/0.001989, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.508/1.508, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.866/1.866, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.00186/0.00186, allocations: 72.23 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3306, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8175/1.148, allocations: 190.4 MB / 0.9694 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01039/1.159, allocations: 5.652 MB / 0.975 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/1.161, allocations: 39.97 kB / 0.975 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/1.163, allocations: 0.571 MB / 0.9756 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006726/1.17, allocations: 1.815 MB / 0.9773 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/1.174, allocations: 1.162 MB / 0.9785 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005525/1.18, allocations: 2.925 MB / 0.9813 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/1.182, allocations: 1.123 MB / 0.9824 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/1.185, allocations: 1.051 MB / 0.9834 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/1.188, allocations: 0.9587 MB / 0.9844 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002687/1.188, allocations: 127.2 kB / 0.9845 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/1.191, allocations: 1.441 MB / 0.9859 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006118/1.192, allocations: 0.5702 MB / 0.9865 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/1.193, allocations: 0.7185 MB / 0.9872 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003626/1.197, allocations: 2.308 MB / 0.9894 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.197, allocations: 0 / 0.9894 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.405e-06/1.197, allocations: 2.125 kB / 0.9894 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.926e-05/1.197, allocations: 0 / 0.9894 GB, free: 8.969 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.002516/1.199, allocations: 1.615 MB / 0.991 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.199, allocations: 10.16 kB / 0.991 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/1.2, allocations: 160.7 kB / 0.9912 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/1.202, allocations: 323.3 kB / 0.9915 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.203, allocations: 0.8623 MB / 0.9923 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/1.203, allocations: 77.36 kB / 0.9924 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.203, allocations: 101.9 kB / 0.9925 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.205, allocations: 1.089 MB / 0.9935 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/1.205, allocations: 0 / 0.9935 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.205, allocations: 41.53 kB / 0.9936 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/1.205, allocations: 41.27 kB / 0.9936 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/1.207, allocations: 0.994 MB / 0.9946 GB, free: 5.668 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.006208/1.213, allocations: 4.247 MB / 0.9987 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/1.214, allocations: 0.5998 MB / 0.9993 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/1.215, allocations: 339.5 kB / 0.9997 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/1.215, allocations: 103.8 kB / 0.9998 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.215, allocations: 43.72 kB / 0.9998 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/1.215, allocations: 0 / 0.9998 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004301/1.219, allocations: 2.198 MB / 1.002 GB, free: 216 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/1.219, allocations: 61.47 kB / 1.002 GB, free: 148 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/1.221, allocations: 0.8742 MB / 1.003 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.221, allocations: 39.55 kB / 1.003 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/1.221, allocations: 0.5163 MB / 1.003 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/1.222, allocations: 196.6 kB / 1.004 GB, free: 15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/1.222, allocations: 128.1 kB / 1.004 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.222, allocations: 333.7 kB / 1.004 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/1.223, allocations: 288.9 kB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/1.223, allocations: 452.8 kB / 1.005 GB, free: 14.12 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.003975/1.227, allocations: 1.738 MB / 1.006 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/1.227, allocations: 0.875 kB / 1.006 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001611/1.229, allocations: 0.9261 MB / 1.007 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.229, allocations: 14.59 kB / 1.007 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.229, allocations: 6.688 kB / 1.007 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/1.229, allocations: 102 kB / 1.007 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/1.23, allocations: 162.5 kB / 1.008 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/1.233, allocations: 4.64 MB / 1.012 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.235, allocations: 39.78 kB / 1.012 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/1.235, allocations: 24.16 kB / 1.012 GB, free: 7.914 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.0006829/1.235, allocations: 346.1 kB / 1.013 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/1.235, allocations: 97.25 kB / 1.013 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/1.236, allocations: 111.3 kB / 1.013 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.236, allocations: 5.062 kB / 1.013 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.236, allocations: 1.781 kB / 1.013 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/1.237, allocations: 0.7668 MB / 1.013 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/1.241, allocations: 1.991 MB / 1.015 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.241, allocations: 2.531 kB / 1.015 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/1.241, allocations: 146.6 kB / 1.016 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/1.241, allocations: 43.66 kB / 1.016 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/1.242, allocations: 23.17 kB / 1.016 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/1.243, allocations: 1.607 MB / 1.017 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.243, allocations: 3 kB / 1.017 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/1.245, allocations: 1.226 MB / 1.018 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/1.245, allocations: 254.6 kB / 1.019 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.246, allocations: 19.77 kB / 1.019 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/1.246, allocations: 28.67 kB / 1.019 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.246, allocations: 47.95 kB / 1.019 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/1.246, allocations: 35.41 kB / 1.019 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008224/1.247, allocations: 0.6083 MB / 1.019 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.247, allocations: 0 / 1.019 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009956/1.248, allocations: 305.3 kB / 1.02 GB, free: 2.598 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.002395/1.251, allocations: 1.865 MB / 1.021 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001764/1.253, allocations: 1.121 MB / 1.023 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.253, allocations: 2.281 kB / 1.023 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/1.253, allocations: 447.4 kB / 1.023 GB, free: 296 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.256, allocations: 0.6479 MB / 1.024 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.268, allocations: 8.235 MB / 1.032 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/1.269, allocations: 1.177 MB / 1.033 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001159/1.27, allocations: 248.2 kB / 1.033 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/1.271, allocations: 375.3 kB / 1.033 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of SimCode: time 7.02e-07/1.271, allocations: 0 / 1.033 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07186/1.343, allocations: 30.22 MB / 1.063 GB, free: 9.105 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.49, allocations: 8.359 kB / 1.063 GB, free: 9.098 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)