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.005118/0.005118, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001146/0.001147, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 275 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 96.06 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1648, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5614/0.7262, allocations: 190.5 MB / 0.9524 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.737, allocations: 5.713 MB / 0.958 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.7383, allocations: 35.81 kB / 0.958 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.7397, allocations: 0.5708 MB / 0.9586 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.7433, allocations: 1.614 MB / 0.9602 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.7471, allocations: 1.207 MB / 0.9614 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003575/0.7507, allocations: 2.554 MB / 0.9638 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.752, allocations: 1.035 MB / 0.9649 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.7537, allocations: 1.047 MB / 0.9659 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.7551, allocations: 0.8543 MB / 0.9667 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.7553, allocations: 108 kB / 0.9668 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.7579, allocations: 1.555 MB / 0.9683 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.7584, allocations: 0.4909 MB / 0.9688 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.759, allocations: 0.6378 MB / 0.9694 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.7616, allocations: 2.194 MB / 0.9716 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7616, allocations: 0 / 0.9716 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7616, allocations: 0 / 0.9716 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.7617, allocations: 0 / 0.9716 GB, free: 0.6133 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.002385/0.7641, allocations: 1.552 MB / 0.9731 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7641, allocations: 8.031 kB / 0.9731 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/0.7671, allocations: 482.7 kB / 0.9736 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.7686, allocations: 0.8637 MB / 0.9744 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.7686, allocations: 66 kB / 0.9745 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.7688, allocations: 87.94 kB / 0.9746 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.771, allocations: 1.178 MB / 0.9757 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.771, allocations: 0 / 0.9757 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.7711, allocations: 40 kB / 0.9757 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.7712, allocations: 37.98 kB / 0.9758 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.7734, allocations: 1.069 MB / 0.9768 GB, free: 11.12 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.006582/0.78, allocations: 4.329 MB / 0.981 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.782, allocations: 0.7365 MB / 0.9818 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009403/0.7829, allocations: 406.5 kB / 0.9822 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.7831, allocations: 101.8 kB / 0.9823 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/0.7832, allocations: 38.56 kB / 0.9823 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.7832, allocations: 0 / 0.9823 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005853/0.7891, allocations: 2.199 MB / 0.9844 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.7891, allocations: 63.33 kB / 0.9845 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.7904, allocations: 0.8763 MB / 0.9854 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.7904, allocations: 37.7 kB / 0.9854 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.7908, allocations: 496.2 kB / 0.9859 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.791, allocations: 170.6 kB / 0.986 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.7912, allocations: 126.2 kB / 0.9861 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7914, allocations: 326 kB / 0.9865 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/0.7923, allocations: 373 kB / 0.9868 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.7934, allocations: 0.4936 MB / 0.9873 GB, free: 15.95 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.005913/0.7993, allocations: 2.262 MB / 0.9895 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7993, allocations: 4 kB / 0.9895 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00231/0.8016, allocations: 0.9864 MB / 0.9905 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8017, allocations: 8 kB / 0.9905 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8017, allocations: 4 kB / 0.9905 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.8017, allocations: 4 kB / 0.9905 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009113/0.8026, allocations: 195.8 kB / 0.9907 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.8026, allocations: 8 kB / 0.9907 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.8036, allocations: 67.92 kB / 0.9907 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.8037, allocations: 24 kB / 0.9908 GB, free: 12.32 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 (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.0004947/0.8042, allocations: 317.4 kB / 0.9911 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.8044, allocations: 103.4 kB / 0.9912 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.8046, allocations: 108.8 kB / 0.9913 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8047, allocations: 7.938 kB / 0.9913 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8047, allocations: 0 / 0.9913 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001988/0.8067, allocations: 1.022 MB / 0.9923 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.8111, allocations: 2.145 MB / 0.9944 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8112, allocations: 4 kB / 0.9944 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.812, allocations: 164.2 kB / 0.9945 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.812, allocations: 4 kB / 0.9945 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.8121, allocations: 12.81 kB / 0.9946 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.8121, allocations: 15.92 kB / 0.9946 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.8121, allocations: 13.81 kB / 0.9946 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.8152, allocations: 1.412 MB / 0.996 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.8156, allocations: 260.4 kB / 0.9962 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.8157, allocations: 15.98 kB / 0.9962 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.8166, allocations: 69.2 kB / 0.9963 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.8168, allocations: 39.83 kB / 0.9963 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.8168, allocations: 27.98 kB / 0.9964 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008183/0.8177, allocations: 0.6005 MB / 0.9969 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8177, allocations: 8 kB / 0.9969 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008764/0.8185, allocations: 271.9 kB / 0.9972 GB, free: 5.469 MB / 0.7481 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.0004545/0.819, allocations: 210 kB / 0.9974 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.8211, allocations: 0.8149 MB / 0.9982 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8211, allocations: 7.938 kB / 0.9982 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009333/0.8221, allocations: 385.1 kB / 0.9986 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.8246, allocations: 0.591 MB / 0.9992 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.8293, allocations: 2.192 MB / 1.001 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.8299, allocations: 1.11 MB / 1.002 GB, free: 92 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009436/0.8309, allocations: 263.8 kB / 1.003 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.8312, allocations: 75.42 kB / 1.003 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of SimCode: time 2.304e-06/0.8312, allocations: 0 / 1.003 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of Templates: time 0.03405/0.8652, allocations: 21.1 MB / 1.023 GB, free: 11 MB / 0.7794 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)