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.001099/0.0011, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001284/0.001284, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.716/2.716, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 70.25 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3019, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002972/0.3049, allocations: 1.972 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.3086, allocations: 3.424 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.3087, allocations: 4 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.3089, allocations: 43.75 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.3094, allocations: 111.4 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.091e-05/0.3095, allocations: 31.91 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.3097, allocations: 179.2 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.3098, allocations: 25.67 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.31, allocations: 91.62 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3101, allocations: 79.62 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3102, allocations: 11.94 kB / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.889e-05/0.3103, allocations: 31.97 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.3103, allocations: 31.91 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.3104, allocations: 87.41 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3106, allocations: 167.3 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3106, allocations: 0 / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3106, allocations: 0 / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3106, allocations: 4 kB / 1.074 GB, free: 4.488 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.0008874/0.3115, allocations: 0.5041 MB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3116, allocations: 8.031 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.3116, allocations: 16.75 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.312, allocations: 250.8 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.312, allocations: 12.38 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.312, allocations: 8.297 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.3124, allocations: 143.6 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3124, allocations: 0 / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3125, allocations: 0 / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.3125, allocations: 15.98 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.3129, allocations: 143.9 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.3136, allocations: 456.4 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.3141, allocations: 174.5 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.3143, allocations: 100.8 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3144, allocations: 3.938 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3144, allocations: 46.56 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3144, allocations: 0 / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008227/0.3152, allocations: 293.7 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.3153, allocations: 51.41 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3155, allocations: 217 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3155, allocations: 29.7 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.3156, allocations: 120.1 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.3156, allocations: 43.36 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.3157, allocations: 29.7 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3158, allocations: 334.8 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.316, allocations: 75.94 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3163, allocations: 75.94 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3167, allocations: 168 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3167, allocations: 0 / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005256/0.3173, allocations: 221.2 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3173, allocations: 4 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3173, allocations: 0 / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3173, allocations: 4 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.3176, allocations: 35.91 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3176, allocations: 0 / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3178, allocations: 19.98 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3178, allocations: 3.984 kB / 1.077 GB, free: 0.7227 MB / 0.8262 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.0001237/0.3179, allocations: 133.7 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.318, allocations: 23.72 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.318, allocations: 29.83 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3181, allocations: 0 / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3181, allocations: 0 / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3181, allocations: 4 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.3184, allocations: 265.5 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3184, allocations: 4 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.3186, allocations: 31.97 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3186, allocations: 0 / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3187, allocations: 7.984 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3187, allocations: 4 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3187, allocations: 0 / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.3193, allocations: 319.1 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3194, allocations: 112.9 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3194, allocations: 4 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.3196, allocations: 11.98 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.3197, allocations: 11.98 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3197, allocations: 4 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001296/0.3198, allocations: 164.4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3198, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002784/0.3201, allocations: 39.88 kB / 1.078 GB, free: 15.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.0001422/0.3203, allocations: 111.2 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.3208, allocations: 191.2 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3208, allocations: 0 / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.3211, allocations: 99.88 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3215, allocations: 32.41 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.3223, allocations: 474.7 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3226, allocations: 0.7274 MB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.3228, allocations: 48.58 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.3229, allocations: 23.38 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3229, allocations: 4 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.004334/0.3272, allocations: 1.736 MB / 1.082 GB, free: 12.03 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)