Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, 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.002473/0.002473, allocations: 195.4 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 69.16 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003308/0.3106, allocations: 2.182 MB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004229/0.3149, allocations: 3.782 MB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.315, allocations: 8 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.3153, allocations: 47.91 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.3156, allocations: 107.3 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.3159, allocations: 131.7 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.3163, allocations: 294.8 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3164, allocations: 60.7 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3166, allocations: 119.5 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3168, allocations: 139.4 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.3168, allocations: 12 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.3171, allocations: 123.8 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.3171, allocations: 51.77 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3173, allocations: 115.3 kB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.3176, allocations: 322.9 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3176, allocations: 0 / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3176, allocations: 0 / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3176, allocations: 0 / 1.075 GB, free: 3.398 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001225/0.3189, allocations: 0.6385 MB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3189, allocations: 11.97 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009448/0.3199, allocations: 180.4 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/0.3206, allocations: 316.3 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3206, allocations: 8.562 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.3207, allocations: 15.94 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.3214, allocations: 228.4 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3214, allocations: 4 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.3214, allocations: 4 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3214, allocations: 0 / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009919/0.3224, allocations: 291.6 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.3237, allocations: 0.5707 MB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/0.3243, allocations: 174.4 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.3248, allocations: 156.7 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008568/0.3257, allocations: 0.5454 MB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3257, allocations: 34.56 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.3257, allocations: 4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.00168/0.3274, allocations: 484.9 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3275, allocations: 51.41 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.3277, allocations: 272.5 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3278, allocations: 25.7 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.3279, allocations: 152 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.3279, allocations: 43.3 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.328, allocations: 45.69 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3281, allocations: 338.7 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.3287, allocations: 147.9 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.3292, allocations: 147.9 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/0.3302, allocations: 290 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3302, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001124/0.3313, allocations: 374.9 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3313, allocations: 4 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3313, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.3314, allocations: 8 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.3318, allocations: 59.92 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3319, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.3322, allocations: 51.78 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.3322, allocations: 8 kB / 1.08 GB, free: 13.46 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 (17): * Single equations (assignments): 17 * 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.0001484/0.3324, allocations: 133.8 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.3325, allocations: 27.62 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.3337, allocations: 387.5 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3337, allocations: 8 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3337, allocations: 0 / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.3337, allocations: 7.922 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.334, allocations: 301.4 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.334, allocations: 3.938 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.3344, allocations: 55.92 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3345, allocations: 4 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.3345, allocations: 7.984 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3345, allocations: 0 / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3345, allocations: 0 / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3356, allocations: 454.5 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3358, allocations: 120.8 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.3358, allocations: 4 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.3362, allocations: 39.89 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.3363, allocations: 19.97 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3363, allocations: 7.922 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001694/0.3365, allocations: 187.1 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3365, allocations: 0 / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003641/0.3368, allocations: 67.94 kB / 1.082 GB, free: 11.56 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.0002547/0.3371, allocations: 139.2 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.3382, allocations: 319.7 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3382, allocations: 0 / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.3387, allocations: 163.8 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.3392, allocations: 44.34 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3403, allocations: 0.5579 MB / 1.083 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3407, allocations: 0.7516 MB / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.3409, allocations: 45.39 kB / 1.084 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.341, allocations: 19.42 kB / 1.084 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.3411, allocations: 0 / 1.084 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.007192/0.3482, allocations: 2.946 MB / 1.087 GB, free: 6.566 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)