Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001209/0.001209, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.572/1.572, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.744/1.744, allocations: 251.7 MB / 0.5092 GB, free: 3.109 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.91 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.5831, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1993/0.7825, allocations: 171.2 MB / 0.8917 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006536/0.789, allocations: 4.353 MB / 0.8959 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.7898, allocations: 19.94 kB / 0.8959 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.7909, allocations: 365.8 kB / 0.8963 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.7937, allocations: 1.1 MB / 0.8974 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.7961, allocations: 0.821 MB / 0.8982 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.7979, allocations: 1.412 MB / 0.8995 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007588/0.7987, allocations: 0.5051 MB / 0.9 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.7999, allocations: 0.6305 MB / 0.9006 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.801, allocations: 0.4883 MB / 0.9011 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.8011, allocations: 56 kB / 0.9012 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.8034, allocations: 0.9082 MB / 0.9021 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.8038, allocations: 223.4 kB / 0.9023 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005252/0.8043, allocations: 346.4 kB / 0.9026 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.8068, allocations: 1.165 MB / 0.9037 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.8068, allocations: 8 kB / 0.9038 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8068, allocations: 0 / 0.9038 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.8068, allocations: 0 / 0.9038 GB, free: 4.699 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002238/0.8091, allocations: 0.9699 MB / 0.9047 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.8092, allocations: 8.031 kB / 0.9047 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.8107, allocations: 247 kB / 0.9049 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.8115, allocations: 497.4 kB / 0.9054 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.8118, allocations: 84.94 kB / 0.9055 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.8119, allocations: 44 kB / 0.9055 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.8133, allocations: 0.6437 MB / 0.9062 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.8134, allocations: 0 / 0.9062 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.8134, allocations: 19.94 kB / 0.9062 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.8135, allocations: 21 kB / 0.9062 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.815, allocations: 0.562 MB / 0.9068 GB, free: 1.508 MB / 0.7169 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.452/1.267, allocations: 2.299 MB / 0.909 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.268, allocations: 287 kB / 0.9093 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/1.269, allocations: 173.1 kB / 0.9094 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/1.269, allocations: 1.719 kB / 0.9094 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.269, allocations: 37.64 kB / 0.9095 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 3.777e-06/1.269, allocations: 0 / 0.9095 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.005619/1.275, allocations: 1.109 MB / 0.9106 GB, free: 184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/1.275, allocations: 78.55 kB / 0.9106 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/1.275, allocations: 0.5622 MB / 0.9112 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/1.276, allocations: 36.5 kB / 0.9112 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/1.276, allocations: 306.8 kB / 0.9115 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/1.276, allocations: 45.97 kB / 0.9116 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.276, allocations: 59.14 kB / 0.9116 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/1.276, allocations: 356.8 kB / 0.912 GB, free: 183 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/1.277, allocations: 194.7 kB / 0.9121 GB, free: 183 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/1.277, allocations: 283.5 kB / 0.9124 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/1.279, allocations: 426.7 kB / 0.9128 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.279, allocations: 1 kB / 0.9128 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003054/1.282, allocations: 0.7399 MB / 0.9135 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/1.282, allocations: 9.141 kB / 0.9136 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.282, allocations: 2.406 kB / 0.9136 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007414/1.283, allocations: 183.6 kB / 0.9137 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/1.283, allocations: 75.42 kB / 0.9138 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/1.287, allocations: 2.282 MB / 0.916 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/1.288, allocations: 82.88 kB / 0.9161 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/1.288, allocations: 18.09 kB / 0.9161 GB, free: 180.7 MB / 0.7169 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.0003613/1.289, allocations: 198 kB / 0.9163 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.289, allocations: 55 kB / 0.9164 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/1.289, allocations: 53.81 kB / 0.9164 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.289, allocations: 1.375 kB / 0.9164 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.289, allocations: 4.609 kB / 0.9164 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.289, allocations: 1.438 kB / 0.9164 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/1.292, allocations: 1.146 MB / 0.9175 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.292, allocations: 0.7812 kB / 0.9175 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/1.293, allocations: 47.08 kB / 0.9176 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006407/1.293, allocations: 185.2 kB / 0.9178 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.293, allocations: 7.875 kB / 0.9178 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/1.297, allocations: 2.173 MB / 0.9199 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.297, allocations: 0.9062 kB / 0.9199 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/1.3, allocations: 0.7109 MB / 0.9206 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/1.3, allocations: 180.1 kB / 0.9208 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/1.3, allocations: 5.531 kB / 0.9208 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/1.301, allocations: 49.03 kB / 0.9208 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/1.301, allocations: 15.91 kB / 0.9208 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/1.301, allocations: 15.72 kB / 0.9208 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006209/1.302, allocations: 406.3 kB / 0.9212 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/1.302, allocations: 4.5 kB / 0.9212 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008558/1.303, allocations: 168.1 kB / 0.9214 GB, free: 177.5 MB / 0.7169 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.0004868/1.303, allocations: 167.8 kB / 0.9216 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002224/1.305, allocations: 0.604 MB / 0.9221 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.305, allocations: 0 / 0.9221 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007098/1.306, allocations: 309 kB / 0.9224 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/1.307, allocations: 323.6 kB / 0.9228 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/1.311, allocations: 1.115 MB / 0.9238 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/1.311, allocations: 0.8631 MB / 0.9247 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004767/1.312, allocations: 111.9 kB / 0.9248 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/1.312, allocations: 34.31 kB / 0.9248 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/1.312, allocations: 5.906 kB / 0.9248 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.01858/1.33, allocations: 12.51 MB / 0.937 GB, free: 164.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)