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.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001916/0.001915, allocations: 193.3 kB / 16.14 MB, free: 6.688 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 61.3 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3516, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.182/0.5336, allocations: 168.8 MB / 1.232 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006791/0.5404, allocations: 4.344 MB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.5415, allocations: 19.88 kB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.5428, allocations: 302.5 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.5454, allocations: 0.9414 MB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.5475, allocations: 0.7277 MB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.5495, allocations: 1.801 MB / 1.24 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005431/0.5501, allocations: 415 kB / 1.241 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.5512, allocations: 0.5913 MB / 1.241 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.5522, allocations: 473.7 kB / 1.242 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.398e-05/0.5523, allocations: 28 kB / 1.242 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.554, allocations: 1.005 MB / 1.243 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.5542, allocations: 191.4 kB / 1.243 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.5545, allocations: 302.5 kB / 1.243 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.5558, allocations: 1.157 MB / 1.244 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5558, allocations: 0 / 1.244 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5558, allocations: 0 / 1.244 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.5559, allocations: 3.938 kB / 1.244 GB, free: 5.219 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.001588/0.5575, allocations: 0.9467 MB / 1.245 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5575, allocations: 8.031 kB / 1.245 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.5592, allocations: 263 kB / 1.245 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/0.56, allocations: 485.5 kB / 1.246 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.5604, allocations: 88.91 kB / 1.246 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.5604, allocations: 43.94 kB / 1.246 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.5617, allocations: 0.6185 MB / 1.247 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5617, allocations: 0 / 1.247 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.5618, allocations: 16 kB / 1.247 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.5618, allocations: 24.94 kB / 1.247 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.5633, allocations: 0.5581 MB / 1.247 GB, free: 2.074 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.6735/1.237, allocations: 2.269 MB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/1.238, allocations: 294.4 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/1.239, allocations: 179.2 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/1.239, allocations: 2.281 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/1.239, allocations: 33.88 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.475e-06/1.239, allocations: 0 / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005781/1.244, allocations: 1.105 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.245, allocations: 80.42 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/1.245, allocations: 0.5521 MB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/1.245, allocations: 34.95 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/1.246, allocations: 306.8 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/1.246, allocations: 35.5 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.246, allocations: 60.75 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.246, allocations: 361.3 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/1.247, allocations: 191.3 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/1.248, allocations: 273.2 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.249, allocations: 425.1 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.249, allocations: 4.781 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002781/1.252, allocations: 0.7287 MB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.252, allocations: 9.219 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.252, allocations: 2.844 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/1.252, allocations: 183.5 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/1.253, allocations: 76.09 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/1.256, allocations: 2.082 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/1.257, allocations: 83.64 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/1.257, allocations: 15.06 kB / 1.256 GB, free: 183.8 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.0003169/1.257, allocations: 192.5 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.257, allocations: 52.8 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/1.258, allocations: 51.42 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.258, allocations: 1.188 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.258, allocations: 2.578 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.258, allocations: 4.656 kB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/1.261, allocations: 1.144 MB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.261, allocations: 0 / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/1.261, allocations: 50.64 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/1.261, allocations: 183.9 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.261, allocations: 3.797 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/1.265, allocations: 2.035 MB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.265, allocations: 3.75 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/1.267, allocations: 0.7129 MB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/1.268, allocations: 168.3 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/1.268, allocations: 7.312 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/1.268, allocations: 51.94 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/1.268, allocations: 16.73 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/1.268, allocations: 12.16 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005076/1.269, allocations: 395 kB / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.284e-06/1.269, allocations: 0 / 1.261 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006994/1.27, allocations: 199.8 kB / 1.261 GB, free: 181.5 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.0004149/1.27, allocations: 170.2 kB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001555/1.272, allocations: 0.5306 MB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.272, allocations: 0 / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/1.272, allocations: 305.7 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.274, allocations: 298.8 kB / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/1.277, allocations: 1.238 MB / 1.264 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/1.278, allocations: 0.871 MB / 1.265 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005301/1.278, allocations: 104 kB / 1.265 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/1.278, allocations: 40.14 kB / 1.265 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.278, allocations: 4 kB / 1.265 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03431/1.313, allocations: 11.84 MB / 1.277 GB, free: 177.3 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)