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.001066/0.001066, 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.001138/0.001138, allocations: 190.6 kB / 16.25 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 282.8 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9712/0.9712, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 91.11 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.193, allocations: 86.99 MB / 0.6796 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5438/0.7369, allocations: 188 MB / 0.8632 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.747, allocations: 5.669 MB / 0.8687 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.7489, allocations: 31.31 kB / 0.8688 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.7506, allocations: 0.4971 MB / 0.8693 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.7548, allocations: 1.521 MB / 0.8707 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.7578, allocations: 1.109 MB / 0.8718 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.7609, allocations: 2.542 MB / 0.8743 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.7621, allocations: 1.011 MB / 0.8753 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.764, allocations: 1.044 MB / 0.8763 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.7658, allocations: 0.9072 MB / 0.8772 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.766, allocations: 108.5 kB / 0.8773 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.7688, allocations: 1.629 MB / 0.8789 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.7694, allocations: 0.498 MB / 0.8794 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.7701, allocations: 0.6416 MB / 0.88 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.7732, allocations: 2.248 MB / 0.8822 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7732, allocations: 2.938 kB / 0.8822 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7732, allocations: 3.938 kB / 0.8822 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.7732, allocations: 0 / 0.8822 GB, free: 5.43 MB / 0.5919 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.002422/0.7756, allocations: 1.521 MB / 0.8837 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7757, allocations: 11.75 kB / 0.8837 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.7788, allocations: 472.4 kB / 0.8842 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.7804, allocations: 0.8139 MB / 0.885 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.7807, allocations: 124.4 kB / 0.8851 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.7809, allocations: 90.83 kB / 0.8852 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.7834, allocations: 1.18 MB / 0.8863 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.7835, allocations: 6.547 kB / 0.8863 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.7836, allocations: 35.53 kB / 0.8864 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.7837, allocations: 34.47 kB / 0.8864 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.7862, allocations: 1.08 MB / 0.8874 GB, free: 2.117 MB / 0.5919 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.00808/0.7943, allocations: 4.368 MB / 0.8917 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.7965, allocations: 0.7535 MB / 0.8924 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.7976, allocations: 408.6 kB / 0.8928 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.7979, allocations: 101.1 kB / 0.8929 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/0.798, allocations: 42.56 kB / 0.893 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/0.798, allocations: 3.938 kB / 0.893 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.006952/0.805, allocations: 2.206 MB / 0.8951 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.8051, allocations: 63.34 kB / 0.8952 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.8065, allocations: 0.8608 MB / 0.896 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.8066, allocations: 41.69 kB / 0.8961 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.8071, allocations: 487.3 kB / 0.8965 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.8073, allocations: 165.6 kB / 0.8967 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.8076, allocations: 126.2 kB / 0.8968 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8077, allocations: 326 kB / 0.8971 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009818/0.8087, allocations: 377 kB / 0.8975 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.8098, allocations: 0.5052 MB / 0.898 GB, free: 7.953 MB / 0.6075 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.006248/0.8161, allocations: 2.294 MB / 0.9002 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.8161, allocations: 0 / 0.9002 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002536/0.8187, allocations: 1.001 MB / 0.9012 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8187, allocations: 4 kB / 0.9012 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8187, allocations: 7.984 kB / 0.9012 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.8187, allocations: 10.06 kB / 0.9012 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/0.8197, allocations: 195.8 kB / 0.9014 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.8198, allocations: 11.94 kB / 0.9014 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.8211, allocations: 103.8 kB / 0.9015 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.8212, allocations: 27.98 kB / 0.9015 GB, free: 4.23 MB / 0.6075 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.0005603/0.8217, allocations: 318.1 kB / 0.9018 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.822, allocations: 94.88 kB / 0.9019 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.8223, allocations: 100.8 kB / 0.902 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.8223, allocations: 7.938 kB / 0.902 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8223, allocations: 0 / 0.902 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002007/0.8243, allocations: 1.038 MB / 0.903 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004925/0.8293, allocations: 2.14 MB / 0.9051 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.8293, allocations: 8.031 kB / 0.9051 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.8302, allocations: 167.8 kB / 0.9053 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.8302, allocations: 7.938 kB / 0.9053 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.8303, allocations: 15.98 kB / 0.9053 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.8303, allocations: 10 kB / 0.9053 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.8303, allocations: 3.938 kB / 0.9053 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.8335, allocations: 1.441 MB / 0.9067 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.8341, allocations: 251.9 kB / 0.907 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.8344, allocations: 15.94 kB / 0.907 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.8355, allocations: 101.4 kB / 0.9071 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.8356, allocations: 43.83 kB / 0.9071 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/0.8357, allocations: 27.97 kB / 0.9072 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00091/0.8367, allocations: 0.6005 MB / 0.9078 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8367, allocations: 4 kB / 0.9078 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001051/0.8377, allocations: 272 kB / 0.908 GB, free: 13.32 MB / 0.6231 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.0005238/0.8383, allocations: 211.4 kB / 0.9082 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002412/0.8407, allocations: 0.8895 MB / 0.9091 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.8407, allocations: 3.938 kB / 0.9091 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.8417, allocations: 393 kB / 0.9095 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.8447, allocations: 0.5828 MB / 0.91 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.8502, allocations: 2.539 MB / 0.9125 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008695/0.8511, allocations: 1.106 MB / 0.9136 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001177/0.8523, allocations: 267.8 kB / 0.9139 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.8526, allocations: 75.36 kB / 0.9139 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.8527, allocations: 0 / 0.9139 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of Templates: time 0.03484/0.8875, allocations: 20.82 MB / 0.9343 GB, free: 2.727 MB / 0.6387 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)