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.005021/0.005021, allocations: 97.62 kB / 15.73 MB, free: 6.035 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.001459/0.001459, allocations: 201.4 kB / 16.68 MB, free: 5.961 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 286.7 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9802/0.9802, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 103.8 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1583, allocations: 86.96 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.499/0.6574, allocations: 190.5 MB / 0.9519 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008907/0.6663, allocations: 5.702 MB / 0.9575 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008124/0.6672, allocations: 39.75 kB / 0.9575 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.6685, allocations: 0.5786 MB / 0.9581 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.6724, allocations: 1.833 MB / 0.9599 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.6752, allocations: 1.187 MB / 0.961 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003848/0.6791, allocations: 2.94 MB / 0.9639 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.6805, allocations: 1.12 MB / 0.965 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.6822, allocations: 1.059 MB / 0.966 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.6839, allocations: 0.9652 MB / 0.967 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.6841, allocations: 120 kB / 0.9671 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.6868, allocations: 1.442 MB / 0.9685 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005617/0.6873, allocations: 0.5728 MB / 0.9691 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007577/0.6881, allocations: 0.7273 MB / 0.9698 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.691, allocations: 2.346 MB / 0.9721 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6911, allocations: 0 / 0.9721 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6911, allocations: 0 / 0.9721 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.6911, allocations: 0 / 0.9721 GB, free: 15.83 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.002495/0.6936, allocations: 1.657 MB / 0.9737 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6936, allocations: 12.03 kB / 0.9737 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.6938, allocations: 156.2 kB / 0.9739 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.6958, allocations: 338.9 kB / 0.9742 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.6972, allocations: 0.9182 MB / 0.9751 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.6973, allocations: 78 kB / 0.9751 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.6975, allocations: 96 kB / 0.9752 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.6992, allocations: 1.089 MB / 0.9763 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.6993, allocations: 3.953 kB / 0.9763 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.6994, allocations: 40 kB / 0.9763 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.6994, allocations: 38 kB / 0.9764 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.7011, allocations: 0.9954 MB / 0.9774 GB, free: 10.31 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.005931/0.707, allocations: 4.238 MB / 0.9815 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.708, allocations: 0.5944 MB / 0.9821 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.7085, allocations: 348.9 kB / 0.9824 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.7087, allocations: 101.5 kB / 0.9825 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.7088, allocations: 46.94 kB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.7088, allocations: 0 / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003978/0.7127, allocations: 2.218 MB / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.7128, allocations: 59.91 kB / 0.9848 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.7139, allocations: 0.8805 MB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.7139, allocations: 41.64 kB / 0.9857 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.7144, allocations: 0.5235 MB / 0.9862 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.7146, allocations: 206.2 kB / 0.9864 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.7148, allocations: 138.6 kB / 0.9865 GB, free: 464 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7149, allocations: 330 kB / 0.9868 GB, free: 128 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.7154, allocations: 285.9 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.7161, allocations: 436.9 kB / 0.9875 GB, free: 15.36 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.003864/0.7199, allocations: 1.741 MB / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7199, allocations: 0 / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001501/0.7215, allocations: 0.9262 MB / 0.9901 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7215, allocations: 8 kB / 0.9901 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7215, allocations: 8.438 kB / 0.9901 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.7217, allocations: 102.5 kB / 0.9902 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.7224, allocations: 159.8 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.7263, allocations: 4.64 MB / 0.9949 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.7271, allocations: 23.98 kB / 0.9949 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.7272, allocations: 31.98 kB / 0.995 GB, free: 7.223 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.0005278/0.7277, allocations: 350.2 kB / 0.9953 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7279, allocations: 107.3 kB / 0.9954 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.7281, allocations: 113.2 kB / 0.9955 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7281, allocations: 4 kB / 0.9955 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7281, allocations: 0 / 0.9955 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/0.7292, allocations: 0.7652 MB / 0.9963 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.7323, allocations: 1.992 MB / 0.9982 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.7324, allocations: 4 kB / 0.9982 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.733, allocations: 144.2 kB / 0.9983 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.564e-05/0.7331, allocations: 40.78 kB / 0.9984 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.7332, allocations: 19.98 kB / 0.9984 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.7345, allocations: 1.61 MB / 1 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7345, allocations: 4 kB / 1 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.7363, allocations: 1.208 MB / 1.001 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.7367, allocations: 260.3 kB / 1.001 GB, free: 236 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.7368, allocations: 19.98 kB / 1.001 GB, free: 216 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/0.7375, allocations: 30.02 kB / 1.001 GB, free: 188 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7376, allocations: 55.81 kB / 1.002 GB, free: 132 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.7377, allocations: 27.98 kB / 1.002 GB, free: 104 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007951/0.7385, allocations: 0.6123 MB / 1.002 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7385, allocations: 0 / 1.002 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001016/0.7395, allocations: 304 kB / 1.002 GB, free: 15.2 MB / 0.7637 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.002377/0.7419, allocations: 1.86 MB / 1.004 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.7434, allocations: 1.011 MB / 1.005 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7434, allocations: 0 / 1.005 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.7441, allocations: 452 kB / 1.006 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.7467, allocations: 0.6547 MB / 1.006 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.7574, allocations: 7.962 MB / 1.014 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.7583, allocations: 1.17 MB / 1.015 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007999/0.7591, allocations: 244.4 kB / 1.015 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.7596, allocations: 391.3 kB / 1.016 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of SimCode: time 1.072e-06/0.7596, allocations: 0 / 1.016 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.991/6.75, allocations: 30.51 MB / 1.046 GB, free: 3.113 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/24.56, allocations: 8.375 kB / 1.046 GB, free: 3.102 MB / 0.795 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)