Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001127/0.001132, 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.001144/0.001144, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.41 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3175, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003287/0.3208, allocations: 1.896 MB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004173/0.325, allocations: 3.47 MB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.3252, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3255, allocations: 43.69 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.326, allocations: 139.2 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.139e-05/0.3261, allocations: 23.97 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3263, allocations: 163.2 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3265, allocations: 33.66 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3266, allocations: 87.56 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3268, allocations: 67.7 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3268, allocations: 12 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.3269, allocations: 31.91 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.327, allocations: 43.83 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.3271, allocations: 75.55 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3273, allocations: 163.3 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3273, allocations: 4 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3274, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3274, allocations: 0 / 1.074 GB, free: 4.168 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.0008401/0.3282, allocations: 0.4906 MB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3283, allocations: 16.03 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.3283, allocations: 20.66 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.3287, allocations: 246.8 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3287, allocations: 4.375 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3287, allocations: 384 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.3291, allocations: 141.6 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3291, allocations: 4 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3291, allocations: 4 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.3292, allocations: 15.98 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3296, allocations: 133.4 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.3303, allocations: 436.6 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.3307, allocations: 162.5 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.331, allocations: 109 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.331, allocations: 3.984 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3311, allocations: 46.5 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3311, allocations: 0 / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008084/0.3319, allocations: 277.4 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.3319, allocations: 51.41 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3321, allocations: 209 kB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3322, allocations: 29.7 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.3322, allocations: 124.1 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.3323, allocations: 47.3 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.3324, allocations: 29.7 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3325, allocations: 342.7 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3327, allocations: 67.88 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3329, allocations: 75.94 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.3334, allocations: 160 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3334, allocations: 0 / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005394/0.3339, allocations: 205.4 kB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.334, allocations: 7.984 kB / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.334, allocations: 0 / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.334, allocations: 0 / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.3343, allocations: 35.91 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3343, allocations: 0 / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.3344, allocations: 23.89 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3345, allocations: 7.984 kB / 1.078 GB, free: 492 kB / 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.0001182/0.3346, allocations: 125.8 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.3346, allocations: 19.81 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.3347, allocations: 29.81 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3347, allocations: 0 / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3347, allocations: 0 / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3347, allocations: 0 / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.335, allocations: 269.3 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.335, allocations: 4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.3353, allocations: 35.91 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.3353, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3353, allocations: 7.984 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3353, allocations: 4 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3353, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.3359, allocations: 307.2 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.336, allocations: 112.8 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.336, allocations: 7.984 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3362, allocations: 11.98 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.3363, allocations: 11.98 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3363, allocations: 0 / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001291/0.3365, allocations: 164.5 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3365, allocations: 0 / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002832/0.3368, allocations: 35.94 kB / 1.079 GB, free: 15.26 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.0001859/0.337, allocations: 111.7 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.3375, allocations: 183 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3375, allocations: 0 / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.3378, allocations: 95.86 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.3382, allocations: 39.92 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.339, allocations: 411.6 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.3393, allocations: 0.7275 MB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.3395, allocations: 52.39 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.3395, allocations: 19.42 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3395, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.004369/0.3439, allocations: 1.69 MB / 1.082 GB, free: 11.93 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)