Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008204, 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.005282/0.005282, allocations: 169.2 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.706/2.706, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 12.78 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002211/0.3258, allocations: 1.718 MB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.3298, allocations: 3.626 MB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.3299, allocations: 4 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3302, allocations: 43.97 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.3305, allocations: 103.4 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.3308, allocations: 107.8 kB / 1.08 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.3311, allocations: 231.1 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3312, allocations: 44.39 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.3314, allocations: 103.5 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3316, allocations: 111.4 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3316, allocations: 12 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.3318, allocations: 103.8 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.3319, allocations: 39.83 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.332, allocations: 117 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.3323, allocations: 263.1 kB / 1.081 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3323, allocations: 0 / 1.081 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3323, allocations: 0 / 1.081 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3323, allocations: 0 / 1.081 GB, free: 0.9453 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001063/0.3334, allocations: 0.5803 MB / 1.081 GB, free: 324 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3335, allocations: 8.031 kB / 1.081 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.3335, allocations: 24.66 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.3339, allocations: 275.6 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3339, allocations: 8.375 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.334, allocations: 8.375 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.3345, allocations: 195 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3345, allocations: 4 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3345, allocations: 0 / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3345, allocations: 0 / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.3353, allocations: 239.8 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.3361, allocations: 496.2 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.3365, allocations: 154.5 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.3369, allocations: 128.8 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/0.3378, allocations: 0.5766 MB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3378, allocations: 30.56 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3379, allocations: 3.938 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001296/0.3392, allocations: 413.4 kB / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3392, allocations: 55.41 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.3394, allocations: 238.7 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3395, allocations: 25.7 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.3396, allocations: 144 kB / 1.084 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3396, allocations: 35.41 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3397, allocations: 21.7 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3398, allocations: 326.8 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.3401, allocations: 115.9 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.3405, allocations: 123.9 kB / 1.085 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.3412, allocations: 244.6 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3413, allocations: 0 / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008017/0.3421, allocations: 301.9 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3421, allocations: 4 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3421, allocations: 0 / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3421, allocations: 0 / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.3424, allocations: 59.94 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3425, allocations: 3.938 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3427, allocations: 35.91 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3427, allocations: 11.92 kB / 1.085 GB, free: 11.8 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 (11): * Single equations (assignments): 11 * 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.0001229/0.3429, allocations: 133.8 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3429, allocations: 23.72 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009212/0.3438, allocations: 323.2 kB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3439, allocations: 4 kB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3439, allocations: 7.938 kB / 1.086 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3439, allocations: 0 / 1.086 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.3442, allocations: 277.4 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3442, allocations: 4 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.3445, allocations: 55.89 kB / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.3445, allocations: 3.984 kB / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3445, allocations: 0 / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3445, allocations: 0 / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3445, allocations: 7.875 kB / 1.086 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.3455, allocations: 399.1 kB / 1.086 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3456, allocations: 116.8 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.3456, allocations: 0 / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3459, allocations: 43.95 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.346, allocations: 11.92 kB / 1.087 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.346, allocations: 11.98 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001414/0.3461, allocations: 169.9 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3461, allocations: 0 / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003156/0.3465, allocations: 63.89 kB / 1.087 GB, free: 10.09 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 (11): * Single equations (assignments): 11 * 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.0002292/0.3467, allocations: 127.2 kB / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008123/0.3475, allocations: 251.8 kB / 1.087 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3475, allocations: 4 kB / 1.087 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.3479, allocations: 143.8 kB / 1.087 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.3484, allocations: 30.88 kB / 1.087 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/0.3493, allocations: 0.5049 MB / 1.088 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3496, allocations: 0.7316 MB / 1.089 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.3498, allocations: 40.83 kB / 1.089 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.3499, allocations: 23.42 kB / 1.089 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.3499, allocations: 0 / 1.089 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of Templates: time 0.005821/0.3557, allocations: 2.383 MB / 1.091 GB, free: 5.824 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)