Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009607/0.009607, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.002142/0.002142, allocations: 196.4 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4419/0.4419, allocations: 54.95 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 68.84 kB / 456.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1741, allocations: 59.59 MB / 0.5037 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6615/0.8357, allocations: 171 MB / 0.6707 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007452/0.8432, allocations: 4.28 MB / 0.6749 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.8446, allocations: 24.84 kB / 0.6749 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.8458, allocations: 366.6 kB / 0.6753 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.8492, allocations: 1.135 MB / 0.6764 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.8517, allocations: 0.8105 MB / 0.6772 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003649/0.8554, allocations: 1.376 MB / 0.6785 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.8566, allocations: 471.7 kB / 0.679 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.859, allocations: 0.6412 MB / 0.6796 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.8604, allocations: 487.7 kB / 0.68 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.8606, allocations: 52.17 kB / 0.6801 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.8628, allocations: 0.9075 MB / 0.681 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.8631, allocations: 221.1 kB / 0.6812 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.8636, allocations: 334.2 kB / 0.6815 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.8653, allocations: 1.144 MB / 0.6826 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8653, allocations: 4 kB / 0.6826 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8653, allocations: 1.203 kB / 0.6826 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.8653, allocations: 0 / 0.6826 GB, free: 15.72 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001713/0.867, allocations: 0.9464 MB / 0.6836 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8671, allocations: 11.28 kB / 0.6836 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.8686, allocations: 249.5 kB / 0.6838 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/0.8695, allocations: 494.5 kB / 0.6843 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.8695, allocations: 30.44 kB / 0.6843 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.8696, allocations: 39.38 kB / 0.6843 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.871, allocations: 0.6218 MB / 0.685 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.871, allocations: 2.156 kB / 0.685 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.8711, allocations: 18.56 kB / 0.685 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.8711, allocations: 25.66 kB / 0.685 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.8725, allocations: 0.539 MB / 0.6855 GB, free: 14.71 MB / 0.5137 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.003956/0.8765, allocations: 2.247 MB / 0.6877 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/0.8774, allocations: 289.6 kB / 0.688 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.878, allocations: 171.5 kB / 0.6882 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.878, allocations: 0 / 0.6882 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.8781, allocations: 34.33 kB / 0.6882 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.8781, allocations: 2.375 kB / 0.6882 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.004993/0.8831, allocations: 1.082 MB / 0.6893 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.8832, allocations: 83.67 kB / 0.6893 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007284/0.8839, allocations: 0.5647 MB / 0.6899 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.884, allocations: 32.02 kB / 0.6899 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.8842, allocations: 295.6 kB / 0.6902 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.8843, allocations: 46.62 kB / 0.6902 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.8844, allocations: 63.91 kB / 0.6903 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.8846, allocations: 357.2 kB / 0.6906 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.8852, allocations: 185.6 kB / 0.6908 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.8859, allocations: 281.8 kB / 0.6911 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.8871, allocations: 418 kB / 0.6915 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8871, allocations: 4.875 kB / 0.6915 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002718/0.8898, allocations: 0.726 MB / 0.6922 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.8899, allocations: 8.297 kB / 0.6922 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8899, allocations: 3.031 kB / 0.6922 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.8906, allocations: 185.7 kB / 0.6924 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.8909, allocations: 71.66 kB / 0.6925 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.8956, allocations: 2.286 MB / 0.6947 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.8964, allocations: 77.98 kB / 0.6948 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.8964, allocations: 11.44 kB / 0.6948 GB, free: 10.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003751/0.8968, allocations: 197.1 kB / 0.695 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.8969, allocations: 50.53 kB / 0.695 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.8971, allocations: 57.34 kB / 0.6951 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8971, allocations: 7.344 kB / 0.6951 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.8971, allocations: 0 / 0.6951 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8971, allocations: 0 / 0.6951 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.9002, allocations: 1.139 MB / 0.6962 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.9002, allocations: 0 / 0.6962 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.9004, allocations: 38.47 kB / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.901, allocations: 177.7 kB / 0.6964 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.901, allocations: 6.891 kB / 0.6964 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003956/0.905, allocations: 2.182 MB / 0.6985 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.905, allocations: 0 / 0.6985 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.9079, allocations: 0.7045 MB / 0.6992 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.9083, allocations: 171.5 kB / 0.6994 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.9084, allocations: 9.484 kB / 0.6994 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.909, allocations: 40.39 kB / 0.6994 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.9091, allocations: 23.84 kB / 0.6994 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.9092, allocations: 15.33 kB / 0.6995 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000582/0.9098, allocations: 399.5 kB / 0.6998 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9098, allocations: 1.203 kB / 0.6998 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008078/0.9106, allocations: 156.8 kB / 0.7 GB, free: 7.961 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004754/0.9111, allocations: 170.7 kB / 0.7002 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.9133, allocations: 0.5967 MB / 0.7007 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9133, allocations: 64 / 0.7007 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.914, allocations: 302.5 kB / 0.701 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.9155, allocations: 311 kB / 0.7013 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.9186, allocations: 1.086 MB / 0.7024 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.9191, allocations: 0.8591 MB / 0.7032 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004307/0.9195, allocations: 102 kB / 0.7033 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.9196, allocations: 39.42 kB / 0.7034 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of SimCode: time 2.004e-06/0.9196, allocations: 0 / 0.7034 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of Templates: time 0.02497/0.9446, allocations: 12.48 MB / 0.7155 GB, free: 13.93 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)