Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001493/0.001493, 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.002016/0.002016, allocations: 197 kB / 16.53 MB, free: 6.699 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 66.22 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3388, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1904/0.5292, allocations: 171 MB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006912/0.5362, allocations: 4.298 MB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.5372, allocations: 23.88 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.5386, allocations: 342 kB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.5417, allocations: 0.9993 MB / 1.241 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.5441, allocations: 0.8013 MB / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.5461, allocations: 1.302 MB / 1.243 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000895/0.547, allocations: 483.3 kB / 1.243 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.5486, allocations: 0.6694 MB / 1.244 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.55, allocations: 461.9 kB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.5502, allocations: 52 kB / 1.244 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.5522, allocations: 0.9043 MB / 1.245 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.5526, allocations: 215.4 kB / 1.245 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.5532, allocations: 334.4 kB / 1.246 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.5555, allocations: 1.126 MB / 1.247 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5555, allocations: 4 kB / 1.247 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5555, allocations: 0 / 1.247 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.429e-05/0.5556, allocations: 0 / 1.247 GB, free: 2.781 MB / 0.9981 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.002754/0.5583, allocations: 0.9505 MB / 1.248 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5584, allocations: 12.03 kB / 1.248 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.5602, allocations: 263 kB / 1.248 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.5612, allocations: 477.5 kB / 1.248 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.5615, allocations: 88.92 kB / 1.249 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.5616, allocations: 47.94 kB / 1.249 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.563, allocations: 0.6146 MB / 1.249 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.563, allocations: 4 kB / 1.249 GB, free: 232 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.5631, allocations: 16 kB / 1.249 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.5632, allocations: 24.94 kB / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6638/1.227, allocations: 0.5497 MB / 1.25 GB, free: 187 MB / 0.9981 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.005096/1.232, allocations: 2.294 MB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/1.233, allocations: 292.6 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/1.234, allocations: 168.4 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/1.234, allocations: 5.75 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.234, allocations: 37.39 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/1.234, allocations: 0 / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005839/1.24, allocations: 1.105 MB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.24, allocations: 80.27 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/1.241, allocations: 0.5468 MB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/1.241, allocations: 27.61 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/1.241, allocations: 309.3 kB / 1.255 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/1.241, allocations: 42.59 kB / 1.255 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/1.241, allocations: 56.58 kB / 1.255 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9e-05/1.241, allocations: 356.4 kB / 1.255 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/1.242, allocations: 195.3 kB / 1.255 GB, free: 185 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/1.243, allocations: 282.6 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/1.244, allocations: 421.9 kB / 1.256 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/1.244, allocations: 1.031 kB / 1.256 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002896/1.247, allocations: 0.735 MB / 1.257 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.247, allocations: 5.781 kB / 1.257 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.247, allocations: 2.75 kB / 1.257 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/1.247, allocations: 185.1 kB / 1.257 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/1.248, allocations: 74.59 kB / 1.257 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/1.252, allocations: 2.227 MB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/1.252, allocations: 77.53 kB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/1.252, allocations: 13.97 kB / 1.259 GB, free: 183.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002675/1.253, allocations: 195.4 kB / 1.259 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/1.253, allocations: 51.05 kB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/1.253, allocations: 52.41 kB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.253, allocations: 0.5625 kB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.253, allocations: 2.703 kB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.253, allocations: 0.6562 kB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/1.256, allocations: 1.152 MB / 1.26 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.256, allocations: 224 / 1.26 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/1.256, allocations: 42.33 kB / 1.261 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/1.257, allocations: 191.3 kB / 1.261 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/1.257, allocations: 3.328 kB / 1.261 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/1.26, allocations: 2.19 MB / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.26, allocations: 4.938 kB / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/1.263, allocations: 0.706 MB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/1.263, allocations: 169.9 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/1.263, allocations: 3.328 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/1.264, allocations: 50.92 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/1.264, allocations: 13.42 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/1.264, allocations: 16.61 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004353/1.265, allocations: 394.3 kB / 1.264 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.265, allocations: 0 / 1.264 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006354/1.265, allocations: 180.5 kB / 1.264 GB, free: 180.7 MB / 0.9981 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.0004104/1.266, allocations: 180.9 kB / 1.265 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001685/1.267, allocations: 0.5413 MB / 1.265 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.267, allocations: 4 kB / 1.265 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007402/1.268, allocations: 304 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.27, allocations: 308.1 kB / 1.266 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/1.273, allocations: 1.091 MB / 1.267 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.273, allocations: 0.858 MB / 1.268 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004748/1.274, allocations: 102.3 kB / 1.268 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/1.274, allocations: 39.75 kB / 1.268 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.274, allocations: 5.031 kB / 1.268 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02298/1.297, allocations: 12.4 MB / 1.28 GB, free: 175.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)