Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0073/0.0073, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004144, allocations: 9.375 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3803, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002197/0.3825, allocations: 1.605 MB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003785/0.3863, allocations: 3.385 MB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3864, allocations: 0 / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.3866, allocations: 43.81 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.387, allocations: 123.4 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.221e-05/0.3871, allocations: 19.98 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.3873, allocations: 187.1 kB / 1.079 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3874, allocations: 25.67 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3876, allocations: 67.7 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3878, allocations: 71.62 kB / 1.08 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3878, allocations: 4 kB / 1.08 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.3879, allocations: 31.91 kB / 1.08 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.388, allocations: 31.84 kB / 1.08 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.388, allocations: 97.25 kB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.3882, allocations: 163.3 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3883, allocations: 3.938 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3883, allocations: 4 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3883, allocations: 0 / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008001/0.3891, allocations: 498.5 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3891, allocations: 8.031 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.3892, allocations: 20.69 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.3895, allocations: 238.8 kB / 1.081 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3895, allocations: 8.375 kB / 1.081 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.3896, allocations: 4.375 kB / 1.081 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.3899, allocations: 151.4 kB / 1.081 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3899, allocations: 0 / 1.081 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.39, allocations: 7.984 kB / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.39, allocations: 11.98 kB / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.3904, allocations: 151.9 kB / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.3911, allocations: 440.6 kB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.3916, allocations: 182.5 kB / 1.082 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3919, allocations: 112.8 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3919, allocations: 3.906 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3919, allocations: 30.56 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 3.337e-06/0.3919, allocations: 0 / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0008511/0.3928, allocations: 313.6 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3928, allocations: 63.34 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.3931, allocations: 205 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3931, allocations: 29.7 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.3932, allocations: 116.1 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.3932, allocations: 43.3 kB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.3933, allocations: 17.72 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3934, allocations: 334.8 kB / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.3936, allocations: 83.94 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3939, allocations: 75.94 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.3943, allocations: 180.2 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3943, allocations: 0 / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000541/0.3949, allocations: 217.4 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3949, allocations: 8 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3949, allocations: 3.938 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3949, allocations: 3.984 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3952, allocations: 39.97 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3952, allocations: 0 / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3954, allocations: 23.89 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3954, allocations: 7.984 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001126/0.3955, allocations: 129.8 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.3956, allocations: 15.81 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.3956, allocations: 29.83 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3956, allocations: 0 / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3956, allocations: 0 / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3957, allocations: 4 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.3959, allocations: 269.3 kB / 1.084 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3959, allocations: 7.875 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3962, allocations: 35.97 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3962, allocations: 0 / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3962, allocations: 7.984 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3962, allocations: 0 / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3962, allocations: 0 / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.3968, allocations: 331.2 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3969, allocations: 108.8 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.3969, allocations: 7.984 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3971, allocations: 23.86 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3972, allocations: 11.98 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3972, allocations: 4 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001164/0.3973, allocations: 156.5 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3973, allocations: 0 / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002678/0.3976, allocations: 39.94 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001713/0.3978, allocations: 99.25 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.3983, allocations: 187.8 kB / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3983, allocations: 0 / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.3986, allocations: 103.9 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.399, allocations: 32.58 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.3998, allocations: 499.1 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.4001, allocations: 0.7199 MB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000167/0.4003, allocations: 56.36 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.4004, allocations: 19.42 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4004, allocations: 4 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.004824/0.4052, allocations: 1.532 MB / 1.088 GB, free: 9.352 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)