Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00116/0.00116, 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.001364/0.001365, allocations: 191.9 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 64.16 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3659, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00391/0.3699, allocations: 2.06 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004466/0.3744, allocations: 3.676 MB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.3745, allocations: 0 / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3748, allocations: 55.95 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3752, allocations: 91.41 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3755, allocations: 103.8 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.3758, allocations: 239.1 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3759, allocations: 52.36 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3761, allocations: 107.5 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3763, allocations: 111.5 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.3763, allocations: 8 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3766, allocations: 107.8 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.3766, allocations: 47.81 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3767, allocations: 91.39 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.3771, allocations: 267.1 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3771, allocations: 3.938 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.41e-07/0.3771, allocations: 0 / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3771, allocations: 0 / 1.074 GB, free: 3.852 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.001231/0.3784, allocations: 0.5802 MB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3784, allocations: 12.03 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.3785, allocations: 20.66 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.3789, allocations: 271.6 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.379, allocations: 12.38 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.379, allocations: 8.375 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.3795, allocations: 177.5 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3795, allocations: 0 / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.3796, allocations: 0 / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.3796, allocations: 4 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006545/0.3802, allocations: 191.8 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.3811, allocations: 492.3 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.3815, allocations: 126.4 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.3819, allocations: 108.8 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009091/0.3828, allocations: 0.5532 MB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3829, allocations: 34.55 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3829, allocations: 4 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001211/0.3841, allocations: 353 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3841, allocations: 55.41 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3844, allocations: 238.7 kB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3844, allocations: 29.92 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.3845, allocations: 136 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.3846, allocations: 39.39 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.3846, allocations: 25.7 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3848, allocations: 338.8 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3851, allocations: 95.91 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.3854, allocations: 95.91 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.3861, allocations: 196.7 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3861, allocations: 0 / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007438/0.3869, allocations: 257.2 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3869, allocations: 8 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3869, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3869, allocations: 3.984 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.3872, allocations: 55.94 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3873, allocations: 3.938 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3875, allocations: 31.81 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.3875, allocations: 7.984 kB / 1.079 GB, free: 15.02 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.0001179/0.3877, allocations: 125.8 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.3877, allocations: 23.72 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/0.3885, allocations: 275.2 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3886, allocations: 4 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3886, allocations: 11.88 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3886, allocations: 0 / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.3889, allocations: 269.5 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3889, allocations: 3.984 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.3892, allocations: 39.95 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3892, allocations: 4 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3893, allocations: 7.922 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3893, allocations: 0 / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3893, allocations: 7.938 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.3901, allocations: 356 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3902, allocations: 116.7 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.3902, allocations: 3.938 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.3905, allocations: 27.97 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.3906, allocations: 15.91 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3906, allocations: 7.984 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001392/0.3907, allocations: 166 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3907, allocations: 0 / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003262/0.3911, allocations: 60 kB / 1.08 GB, free: 13.44 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.0002401/0.3913, allocations: 139.1 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.3921, allocations: 215.9 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3921, allocations: 0 / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3925, allocations: 119.8 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.3929, allocations: 39.42 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.3938, allocations: 472.1 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3942, allocations: 0.7355 MB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.3944, allocations: 40.83 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.3945, allocations: 23.42 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3945, allocations: 4 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.005946/0.4004, allocations: 2.401 MB / 1.084 GB, free: 9.238 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)