Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 97.64 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.005319/0.005319, allocations: 169 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004341, allocations: 7.719 kB / 0.9158 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3744, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002943/0.3774, allocations: 1.624 MB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004676/0.3821, allocations: 3.389 MB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.3823, allocations: 4 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3826, allocations: 43.75 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.383, allocations: 115.4 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.554e-05/0.3831, allocations: 27.91 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.3834, allocations: 187.2 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3835, allocations: 25.66 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3837, allocations: 83.58 kB / 1.08 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.3839, allocations: 75.67 kB / 1.08 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.3839, allocations: 7.938 kB / 1.08 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.384, allocations: 23.92 kB / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.3841, allocations: 31.84 kB / 1.08 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.3842, allocations: 109.2 kB / 1.08 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.3844, allocations: 163.3 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3844, allocations: 0 / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3844, allocations: 0 / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3845, allocations: 4 kB / 1.08 GB, free: 1.617 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.0008614/0.3853, allocations: 0.4921 MB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3854, allocations: 8.031 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.3854, allocations: 16.75 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3858, allocations: 250.8 kB / 1.081 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3858, allocations: 4.312 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3858, allocations: 8.375 kB / 1.081 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.3862, allocations: 151.4 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3862, allocations: 4 kB / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3862, allocations: 0 / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.3863, allocations: 11.98 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.3867, allocations: 163.8 kB / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.3875, allocations: 460.5 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.3879, allocations: 182.5 kB / 1.082 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3882, allocations: 108.8 kB / 1.082 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3882, allocations: 7.922 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.3883, allocations: 38.56 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3883, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0008798/0.3891, allocations: 313.7 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.3892, allocations: 51.41 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3894, allocations: 217 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3894, allocations: 25.7 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.3895, allocations: 128 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.3896, allocations: 43.44 kB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.3896, allocations: 17.7 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3898, allocations: 334.8 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.39, allocations: 83.92 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3902, allocations: 83.88 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.3907, allocations: 187.6 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3907, allocations: 0 / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005835/0.3913, allocations: 237.3 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3914, allocations: 4 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3914, allocations: 3.984 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3914, allocations: 0 / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3917, allocations: 39.91 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3917, allocations: 3.938 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3919, allocations: 27.92 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3919, allocations: 7.984 kB / 1.083 GB, free: 13.75 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 (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.0001264/0.392, allocations: 125.8 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.3921, allocations: 23.72 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.3922, allocations: 25.83 kB / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3922, allocations: 0 / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3922, allocations: 0 / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3922, allocations: 0 / 1.084 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.3925, allocations: 273.4 kB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3925, allocations: 4 kB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.3928, allocations: 39.91 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3928, allocations: 4 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3928, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3928, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3928, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.3934, allocations: 347.1 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.3935, allocations: 108.9 kB / 1.084 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3936, allocations: 11.98 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.3938, allocations: 15.98 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.3938, allocations: 11.98 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3938, allocations: 4 kB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001319/0.394, allocations: 156.5 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.394, allocations: 0 / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002821/0.3943, allocations: 47.88 kB / 1.085 GB, free: 12.48 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.0001779/0.3944, allocations: 107.2 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005684/0.395, allocations: 187.9 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.395, allocations: 0 / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.3953, allocations: 111.5 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3958, allocations: 24.42 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.3966, allocations: 0.5092 MB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.397, allocations: 0.7277 MB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.3972, allocations: 56.52 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.3972, allocations: 23.42 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3972, allocations: 4 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.004841/0.4021, allocations: 1.642 MB / 1.088 GB, free: 9.062 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)