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.001422/0.001422, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001468/0.001468, allocations: 187 kB / 17.34 MB, free: 5.762 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.353/1.353, 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.002096/0.002095, allocations: 298.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4405, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1851/0.6257, allocations: 190.5 MB / 0.9531 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4231/1.049, allocations: 5.702 MB / 0.9587 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/1.051, allocations: 41.44 kB / 0.9587 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.052, allocations: 0.588 MB / 0.9593 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/1.057, allocations: 1.676 MB / 0.9609 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/1.061, allocations: 1.219 MB / 0.9621 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003831/1.065, allocations: 2.567 MB / 0.9646 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/1.066, allocations: 1.036 MB / 0.9656 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/1.068, allocations: 1.09 MB / 0.9667 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/1.07, allocations: 0.8464 MB / 0.9675 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/1.07, allocations: 109 kB / 0.9676 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/1.073, allocations: 1.562 MB / 0.9691 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005118/1.074, allocations: 0.4977 MB / 0.9696 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/1.074, allocations: 0.6426 MB / 0.9702 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002988/1.077, allocations: 2.182 MB / 0.9724 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.077, allocations: 0.8438 kB / 0.9724 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/1.077, allocations: 0 / 0.9724 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.916e-05/1.077, allocations: 0.9688 kB / 0.9724 GB, free: 1.531 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.002303/1.08, allocations: 1.519 MB / 0.9739 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.08, allocations: 8.438 kB / 0.9739 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/1.083, allocations: 474.9 kB / 0.9743 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/1.084, allocations: 0.8518 MB / 0.9752 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/1.084, allocations: 69.53 kB / 0.9752 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.084, allocations: 83.25 kB / 0.9753 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/1.086, allocations: 1.175 MB / 0.9764 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.086, allocations: 3.5 kB / 0.9764 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/1.086, allocations: 36.09 kB / 0.9765 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/1.086, allocations: 36.88 kB / 0.9765 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/1.088, allocations: 1.069 MB / 0.9776 GB, free: 16.24 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.005984/1.094, allocations: 4.308 MB / 0.9818 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/1.096, allocations: 0.7522 MB / 0.9825 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/1.097, allocations: 396 kB / 0.9829 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/1.097, allocations: 108.9 kB / 0.983 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.097, allocations: 38.06 kB / 0.983 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.434e-06/1.097, allocations: 0.9688 kB / 0.983 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005245/1.102, allocations: 2.19 MB / 0.9852 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.103, allocations: 60.5 kB / 0.9852 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008802/1.103, allocations: 0.864 MB / 0.9861 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/1.103, allocations: 37.86 kB / 0.9861 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/1.104, allocations: 496.2 kB / 0.9866 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/1.104, allocations: 160 kB / 0.9867 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/1.104, allocations: 121.2 kB / 0.9868 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.104, allocations: 330 kB / 0.9872 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008626/1.105, allocations: 369.1 kB / 0.9875 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/1.106, allocations: 0.4964 MB / 0.988 GB, free: 12.81 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.005612/1.112, allocations: 2.265 MB / 0.9902 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.112, allocations: 1.203 kB / 0.9902 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002121/1.114, allocations: 0.9895 MB / 0.9912 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.114, allocations: 8.25 kB / 0.9912 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.114, allocations: 6.219 kB / 0.9912 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.114, allocations: 9.281 kB / 0.9912 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/1.115, allocations: 195.9 kB / 0.9914 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.115, allocations: 10.81 kB / 0.9914 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009918/1.116, allocations: 66.16 kB / 0.9915 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/1.116, allocations: 29.14 kB / 0.9915 GB, free: 12.45 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.0004713/1.116, allocations: 313.2 kB / 0.9918 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/1.117, allocations: 97.53 kB / 0.9919 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/1.117, allocations: 104.5 kB / 0.992 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.117, allocations: 6.344 kB / 0.992 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.117, allocations: 2.531 kB / 0.992 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001831/1.119, allocations: 1.021 MB / 0.993 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/1.123, allocations: 2.13 MB / 0.9951 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/1.123, allocations: 2.188 kB / 0.9951 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/1.124, allocations: 166.6 kB / 0.9952 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.124, allocations: 5.031 kB / 0.9952 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/1.124, allocations: 18.31 kB / 0.9952 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.124, allocations: 4.875 kB / 0.9952 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.124, allocations: 12.41 kB / 0.9953 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/1.127, allocations: 1.413 MB / 0.9966 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/1.127, allocations: 256.4 kB / 0.9969 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.127, allocations: 23.33 kB / 0.9969 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/1.128, allocations: 69.16 kB / 0.997 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/1.128, allocations: 40.84 kB / 0.997 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/1.128, allocations: 31.19 kB / 0.997 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006807/1.129, allocations: 0.6003 MB / 0.9976 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.129, allocations: 0 / 0.9976 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008285/1.13, allocations: 263.6 kB / 0.9979 GB, free: 10.83 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.0004618/1.13, allocations: 213.2 kB / 0.9981 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001951/1.132, allocations: 0.8206 MB / 0.9989 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.132, allocations: 0 / 0.9989 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/1.133, allocations: 394.5 kB / 0.9993 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.136, allocations: 0.5762 MB / 0.9998 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/1.14, allocations: 2.241 MB / 1.002 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/1.141, allocations: 1.109 MB / 1.003 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/1.141, allocations: 83.08 kB / 1.003 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/1.141, allocations: 0 / 1.003 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of Templates: time 0.02443/1.166, allocations: 16.99 MB / 1.02 GB, free: 4.199 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)