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.001391/0.001391, allocations: 99.36 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.001645/0.001645, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.39/1.39, allocations: 222.9 MB / 239.9 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.917/2.917, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 64.19 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2945, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00351/0.298, allocations: 2.193 MB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00454/0.3026, allocations: 3.755 MB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.3028, allocations: 0 / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.3031, allocations: 63.89 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.3036, allocations: 103.3 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.304, allocations: 135.7 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.3045, allocations: 318.9 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3046, allocations: 52.72 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.3049, allocations: 135.5 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.3051, allocations: 143.4 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.3052, allocations: 20 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.3055, allocations: 131.8 kB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.3056, allocations: 63.73 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3057, allocations: 119.3 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.3061, allocations: 338.9 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3061, allocations: 0 / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3061, allocations: 0 / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3062, allocations: 0 / 1.075 GB, free: 3.203 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.001282/0.3074, allocations: 0.6402 MB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3075, allocations: 8.031 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009591/0.3085, allocations: 172.4 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.3092, allocations: 332.2 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3092, allocations: 4.562 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.3093, allocations: 15.94 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.31, allocations: 221.5 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.31, allocations: 0 / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.31, allocations: 4 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.31, allocations: 7.938 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/0.311, allocations: 279.7 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.3124, allocations: 0.5746 MB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.313, allocations: 170.4 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.3135, allocations: 152.7 kB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008622/0.3143, allocations: 0.5532 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3144, allocations: 34.56 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3144, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001641/0.316, allocations: 493.1 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3161, allocations: 55.41 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.3163, allocations: 268.5 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3164, allocations: 29.7 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3165, allocations: 148 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.3165, allocations: 43.3 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.3166, allocations: 41.69 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3168, allocations: 342.8 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.3173, allocations: 143.9 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.3178, allocations: 145.7 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009663/0.3188, allocations: 292.6 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3188, allocations: 3.938 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00111/0.3199, allocations: 370.2 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3199, allocations: 4 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3199, allocations: 0 / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3199, allocations: 3.984 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.3204, allocations: 71.91 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3204, allocations: 0 / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.3208, allocations: 43.8 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3208, allocations: 11.98 kB / 1.081 GB, free: 13.27 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.0001326/0.3209, allocations: 133.8 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.321, allocations: 27.62 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3222, allocations: 371.3 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3222, allocations: 4 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3222, allocations: 4 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3222, allocations: 3.938 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.3225, allocations: 305.4 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3226, allocations: 3.938 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.323, allocations: 63.86 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.323, allocations: 3.984 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.323, allocations: 8 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.323, allocations: 0 / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.323, allocations: 4 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.3242, allocations: 450.3 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3243, allocations: 116.8 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.3243, allocations: 4 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.3247, allocations: 39.94 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.3248, allocations: 15.98 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.3248, allocations: 11.92 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001617/0.325, allocations: 191 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0 / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003506/0.3253, allocations: 71.92 kB / 1.082 GB, free: 11.38 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.0002139/0.3256, allocations: 132.8 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.3267, allocations: 331.7 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3267, allocations: 0 / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.3273, allocations: 171.8 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3277, allocations: 36.92 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3288, allocations: 0.5563 MB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3291, allocations: 0.7474 MB / 1.084 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002655/0.3294, allocations: 45.38 kB / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3295, allocations: 31.41 kB / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3295, allocations: 0 / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of Templates: time 0.006157/0.3357, allocations: 3.048 MB / 1.087 GB, free: 6.27 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)