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.001354/0.001354, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001427/0.001427, allocations: 193.2 kB / 16.26 MB, free: 6.148 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.88 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3287, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00293/0.3316, allocations: 1.951 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003584/0.3352, allocations: 3.424 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.3353, allocations: 4 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.3356, allocations: 35.81 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.336, allocations: 123.3 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.991e-05/0.3361, allocations: 27.97 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3363, allocations: 175.2 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.3364, allocations: 21.69 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.3366, allocations: 87.62 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3367, allocations: 71.69 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3367, allocations: 8 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.3368, allocations: 31.91 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.3369, allocations: 39.84 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.337, allocations: 75.53 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3372, allocations: 175.2 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3372, allocations: 0 / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3372, allocations: 0 / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3372, allocations: 0 / 1.074 GB, free: 4.523 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.0008204/0.338, allocations: 0.4906 MB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3381, allocations: 12.02 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3381, allocations: 24.66 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3385, allocations: 246.8 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.3385, allocations: 384 / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3385, allocations: 8.375 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.3389, allocations: 143.2 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3389, allocations: 0 / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3389, allocations: 0 / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.3389, allocations: 19.98 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.3394, allocations: 135.9 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.34, allocations: 440.5 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.3405, allocations: 166.4 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.3407, allocations: 104.8 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3408, allocations: 4 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3408, allocations: 34.56 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3408, allocations: 0 / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008102/0.3416, allocations: 288.9 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.3417, allocations: 51.41 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3419, allocations: 209 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3419, allocations: 29.7 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.342, allocations: 116.1 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.342, allocations: 47.3 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.3421, allocations: 29.7 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3422, allocations: 338.8 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3425, allocations: 71.94 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3427, allocations: 67.94 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.3431, allocations: 152.8 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3431, allocations: 0 / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000513/0.3437, allocations: 213.3 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3437, allocations: 11.94 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3437, allocations: 0 / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.3437, allocations: 0 / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.344, allocations: 35.95 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.344, allocations: 0 / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.3441, allocations: 19.89 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3442, allocations: 4 kB / 1.077 GB, free: 0.8477 MB / 0.8262 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.0001106/0.3443, allocations: 133.8 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.3443, allocations: 15.81 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.3444, allocations: 29.83 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3444, allocations: 3.938 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3444, allocations: 0 / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3444, allocations: 0 / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3447, allocations: 265.3 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3447, allocations: 3.984 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.3449, allocations: 35.97 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3449, allocations: 4 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3449, allocations: 3.938 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3449, allocations: 0 / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.345, allocations: 4 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.3455, allocations: 322.2 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.3456, allocations: 104.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3457, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3459, allocations: 15.98 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.3459, allocations: 11.97 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.346, allocations: 15.98 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001174/0.3461, allocations: 152.5 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3461, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002697/0.3464, allocations: 39.94 kB / 1.078 GB, free: 15.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.0001391/0.3465, allocations: 107.2 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.347, allocations: 183.8 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3471, allocations: 4 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.3473, allocations: 87.88 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3477, allocations: 29.19 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/0.3485, allocations: 458.2 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3488, allocations: 0.7275 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.349, allocations: 56.3 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.349, allocations: 19.44 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3491, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.004315/0.3534, allocations: 1.607 MB / 1.081 GB, free: 12.33 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)