Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 106.8 kB / 16.41 MB, free: 6.453 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.001279/0.00128, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 285.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 99.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4809, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1957/0.6766, allocations: 190.5 MB / 0.9531 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4549/1.132, allocations: 5.704 MB / 0.9587 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/1.133, allocations: 41.28 kB / 0.9587 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/1.135, allocations: 0.5635 MB / 0.9592 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004396/1.139, allocations: 1.612 MB / 0.9608 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/1.143, allocations: 1.206 MB / 0.962 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004153/1.147, allocations: 2.558 MB / 0.9645 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/1.148, allocations: 1.035 MB / 0.9655 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/1.151, allocations: 1.059 MB / 0.9665 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/1.153, allocations: 0.8519 MB / 0.9674 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002202/1.153, allocations: 108.9 kB / 0.9675 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/1.156, allocations: 1.557 MB / 0.969 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000612/1.157, allocations: 0.4958 MB / 0.9695 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008901/1.158, allocations: 0.643 MB / 0.9701 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003138/1.161, allocations: 2.187 MB / 0.9722 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.161, allocations: 3.422 kB / 0.9722 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/1.161, allocations: 0 / 0.9722 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.932e-05/1.161, allocations: 1 kB / 0.9723 GB, free: 1.547 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002339/1.163, allocations: 1.514 MB / 0.9737 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/1.163, allocations: 11.5 kB / 0.9737 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/1.166, allocations: 469.5 kB / 0.9742 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/1.167, allocations: 0.8531 MB / 0.975 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/1.168, allocations: 67.38 kB / 0.9751 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.168, allocations: 83.34 kB / 0.9752 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/1.17, allocations: 1.18 MB / 0.9763 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.17, allocations: 4.641 kB / 0.9763 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/1.17, allocations: 39.62 kB / 0.9764 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/1.17, allocations: 33.47 kB / 0.9764 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/1.172, allocations: 1.066 MB / 0.9774 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.006561/1.179, allocations: 4.31 MB / 0.9816 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/1.18, allocations: 0.75 MB / 0.9824 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/1.181, allocations: 402.4 kB / 0.9828 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/1.182, allocations: 107.5 kB / 0.9829 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.182, allocations: 43.62 kB / 0.9829 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/1.182, allocations: 0.6562 kB / 0.9829 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005652/1.187, allocations: 2.185 MB / 0.985 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.187, allocations: 55.88 kB / 0.9851 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009536/1.188, allocations: 0.8654 MB / 0.9859 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/1.188, allocations: 37.97 kB / 0.986 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/1.189, allocations: 499.2 kB / 0.9864 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/1.189, allocations: 158.6 kB / 0.9866 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/1.189, allocations: 120.6 kB / 0.9867 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.189, allocations: 335 kB / 0.987 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/1.19, allocations: 367.9 kB / 0.9874 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/1.191, allocations: 0.4978 MB / 0.9879 GB, free: 12.82 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.005734/1.197, allocations: 2.259 MB / 0.9901 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/1.197, allocations: 0.9688 kB / 0.9901 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002257/1.199, allocations: 0.9954 MB / 0.991 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.199, allocations: 7 kB / 0.9911 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.199, allocations: 4.797 kB / 0.9911 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.199, allocations: 11.97 kB / 0.9911 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/1.2, allocations: 186.9 kB / 0.9912 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/1.2, allocations: 16.83 kB / 0.9913 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.201, allocations: 64.5 kB / 0.9913 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/1.201, allocations: 26.22 kB / 0.9914 GB, free: 12.47 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 (73): * Single equations (assignments): 73 * 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.000513/1.202, allocations: 310.1 kB / 0.9916 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/1.202, allocations: 95.03 kB / 0.9917 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/1.202, allocations: 102.3 kB / 0.9918 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.202, allocations: 10.22 kB / 0.9918 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.202, allocations: 0 / 0.9918 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/1.204, allocations: 1.027 MB / 0.9928 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/1.208, allocations: 2.133 MB / 0.9949 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.208, allocations: 5.375 kB / 0.9949 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/1.209, allocations: 166.8 kB / 0.9951 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.209, allocations: 5.25 kB / 0.9951 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/1.209, allocations: 21.33 kB / 0.9951 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.209, allocations: 5.938 kB / 0.9951 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.209, allocations: 13.25 kB / 0.9951 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/1.212, allocations: 1.413 MB / 0.9965 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/1.212, allocations: 255.1 kB / 0.9968 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.213, allocations: 15.22 kB / 0.9968 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/1.213, allocations: 65.3 kB / 0.9968 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/1.214, allocations: 40.67 kB / 0.9969 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/1.214, allocations: 36.45 kB / 0.9969 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000703/1.214, allocations: 0.5978 MB / 0.9975 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.214, allocations: 0 / 0.9975 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008467/1.215, allocations: 270.6 kB / 0.9978 GB, free: 10.85 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 (45): * Single equations (assignments): 45 * 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.0004735/1.216, allocations: 213.7 kB / 0.998 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001958/1.218, allocations: 0.8102 MB / 0.9987 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.218, allocations: 3.156 kB / 0.9988 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/1.219, allocations: 391.8 kB / 0.9991 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.221, allocations: 0.5784 MB / 0.9997 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/1.226, allocations: 2.251 MB / 1.002 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/1.226, allocations: 1.107 MB / 1.003 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/1.227, allocations: 81.84 kB / 1.003 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/1.227, allocations: 0 / 1.003 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of Templates: time 0.02471/1.252, allocations: 16.97 MB / 1.02 GB, free: 4.238 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)