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.001809/0.001809, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002419/0.002419, allocations: 199.5 kB / 16.26 MB, free: 6.621 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.548/1.548, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 286.8 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.6 MB / 0.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003957/0.003957, allocations: 101.4 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1894, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5397/0.7291, allocations: 188 MB / 0.8766 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.74, allocations: 5.674 MB / 0.8821 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.7415, allocations: 35.91 kB / 0.8821 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.7431, allocations: 0.5082 MB / 0.8826 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.7476, allocations: 1.513 MB / 0.8841 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.7509, allocations: 1.101 MB / 0.8852 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003965/0.7548, allocations: 2.555 MB / 0.8877 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.7566, allocations: 1.013 MB / 0.8887 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.759, allocations: 1.043 MB / 0.8897 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.7612, allocations: 0.9129 MB / 0.8906 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.7615, allocations: 108 kB / 0.8907 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.765, allocations: 1.617 MB / 0.8923 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006447/0.7657, allocations: 0.5026 MB / 0.8927 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009242/0.7666, allocations: 0.6456 MB / 0.8934 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.7706, allocations: 2.244 MB / 0.8956 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.7706, allocations: 11.88 kB / 0.8956 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7706, allocations: 0 / 0.8956 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.7707, allocations: 0 / 0.8956 GB, free: 12.45 MB / 0.6231 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.002868/0.7735, allocations: 1.516 MB / 0.8971 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.7736, allocations: 8.031 kB / 0.8971 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.7768, allocations: 478 kB / 0.8975 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.7784, allocations: 0.8118 MB / 0.8983 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.7788, allocations: 127.9 kB / 0.8984 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.779, allocations: 84 kB / 0.8985 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.7814, allocations: 1.19 MB / 0.8997 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.7814, allocations: 0 / 0.8997 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.7816, allocations: 40 kB / 0.8997 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.7816, allocations: 37.92 kB / 0.8998 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.7841, allocations: 1.077 MB / 0.9008 GB, free: 6.984 MB / 0.6231 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.007578/0.7917, allocations: 4.35 MB / 0.9051 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.7937, allocations: 0.756 MB / 0.9058 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009619/0.7947, allocations: 402.2 kB / 0.9062 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.7949, allocations: 105.1 kB / 0.9063 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.795, allocations: 42.56 kB / 0.9063 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 4.699e-06/0.795, allocations: 0 / 0.9063 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.005863/0.8009, allocations: 2.208 MB / 0.9085 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.8009, allocations: 59.34 kB / 0.9085 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.8021, allocations: 0.8608 MB / 0.9094 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.8022, allocations: 37.7 kB / 0.9094 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.8026, allocations: 495.2 kB / 0.9099 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.8028, allocations: 165.7 kB / 0.91 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.803, allocations: 122.2 kB / 0.9102 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8032, allocations: 330 kB / 0.9105 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009567/0.8042, allocations: 373 kB / 0.9108 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.8053, allocations: 0.509 MB / 0.9113 GB, free: 11.75 MB / 0.6387 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.00622/0.8115, allocations: 2.302 MB / 0.9136 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8115, allocations: 1.125 kB / 0.9136 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00238/0.8139, allocations: 0.986 MB / 0.9145 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.8139, allocations: 11.98 kB / 0.9145 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.8139, allocations: 0 / 0.9145 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.814, allocations: 12.06 kB / 0.9146 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/0.8149, allocations: 199.7 kB / 0.9147 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.8149, allocations: 12.61 kB / 0.9148 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.816, allocations: 99.75 kB / 0.9149 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.8161, allocations: 24 kB / 0.9149 GB, free: 8.047 MB / 0.6387 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.0005354/0.8166, allocations: 313.5 kB / 0.9152 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.8168, allocations: 96.88 kB / 0.9153 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.817, allocations: 108.7 kB / 0.9154 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8171, allocations: 11.94 kB / 0.9154 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8171, allocations: 4 kB / 0.9154 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002035/0.8191, allocations: 1.034 MB / 0.9164 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.8238, allocations: 2.153 MB / 0.9185 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.8238, allocations: 0 / 0.9185 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/0.8247, allocations: 176 kB / 0.9187 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.8247, allocations: 8 kB / 0.9187 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.8247, allocations: 8 kB / 0.9187 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.8248, allocations: 11.98 kB / 0.9187 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.8248, allocations: 11.88 kB / 0.9187 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.828, allocations: 1.429 MB / 0.9201 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.8285, allocations: 252 kB / 0.9203 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.8286, allocations: 11.98 kB / 0.9204 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.8296, allocations: 108.8 kB / 0.9205 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.8297, allocations: 39.89 kB / 0.9205 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.8298, allocations: 35.92 kB / 0.9205 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008149/0.8306, allocations: 0.6005 MB / 0.9211 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8306, allocations: 0 / 0.9211 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009077/0.8316, allocations: 264 kB / 0.9214 GB, free: 1.137 MB / 0.6387 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.000523/0.8321, allocations: 207.3 kB / 0.9216 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.8344, allocations: 0.8968 MB / 0.9224 GB, free: 36 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.8344, allocations: 4 kB / 0.9224 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009939/0.8354, allocations: 397 kB / 0.9228 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.8379, allocations: 0.5849 MB / 0.9234 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.8432, allocations: 2.539 MB / 0.9259 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/0.8441, allocations: 1.11 MB / 0.927 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001101/0.8452, allocations: 255.8 kB / 0.9272 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.8455, allocations: 75.42 kB / 0.9273 GB, free: 11 MB / 0.6544 GB Notification: Performance of SimCode: time 1.312e-06/0.8455, allocations: 4 kB / 0.9273 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.03921/0.8847, allocations: 20.82 MB / 0.9476 GB, free: 6.543 MB / 0.67 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)