Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.98/2.98, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 62.55 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2911, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003277/0.2944, allocations: 1.895 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.2988, allocations: 3.454 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.299, allocations: 4 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.2993, allocations: 51.62 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006168/0.3, allocations: 127.3 kB / 1.074 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.911e-05/0.3001, allocations: 31.84 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.3004, allocations: 171.2 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3005, allocations: 29.67 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.3007, allocations: 83.62 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.3009, allocations: 71.64 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.301, allocations: 8 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3011, allocations: 39.95 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.3012, allocations: 43.78 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.3013, allocations: 75.55 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3015, allocations: 163.3 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3015, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3015, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.3016, allocations: 0 / 1.074 GB, free: 4.184 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.0009549/0.3025, allocations: 0.4945 MB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3026, allocations: 8.031 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.3027, allocations: 20.66 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.3031, allocations: 250.8 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3031, allocations: 4.375 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3032, allocations: 4.375 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.3036, allocations: 141.7 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3036, allocations: 3.984 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3036, allocations: 3.984 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.3037, allocations: 8 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.3041, allocations: 135.9 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.3049, allocations: 444.5 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.3054, allocations: 166.5 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.3056, allocations: 101 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3057, allocations: 3.938 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3057, allocations: 34.56 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3057, allocations: 3.938 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008715/0.3066, allocations: 285.4 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3067, allocations: 51.41 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.3069, allocations: 205 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3069, allocations: 29.7 kB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.307, allocations: 124.1 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.3071, allocations: 47.3 kB / 1.077 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.3072, allocations: 29.7 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3073, allocations: 334.8 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.3075, allocations: 71.94 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.3078, allocations: 71.94 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.3082, allocations: 167.9 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3082, allocations: 0 / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005284/0.3088, allocations: 205.3 kB / 1.078 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3088, allocations: 11.98 kB / 1.078 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3088, allocations: 0 / 1.078 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3088, allocations: 0 / 1.078 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.3091, allocations: 31.97 kB / 1.078 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3091, allocations: 0 / 1.078 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3093, allocations: 23.83 kB / 1.078 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3093, allocations: 7.984 kB / 1.078 GB, free: 0.4961 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.0001205/0.3094, allocations: 129.8 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.3095, allocations: 15.81 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.3095, allocations: 25.83 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3095, allocations: 4 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3096, allocations: 0 / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3096, allocations: 0 / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.3099, allocations: 269.3 kB / 1.078 GB, free: 16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3099, allocations: 4 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.3101, allocations: 31.97 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3101, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3101, allocations: 3.984 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3102, allocations: 3.938 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3102, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.3108, allocations: 315.1 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.3109, allocations: 112.8 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.3109, allocations: 4 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3111, allocations: 11.98 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3112, allocations: 11.98 kB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3112, allocations: 12 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001198/0.3113, allocations: 156.5 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3113, allocations: 0 / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002876/0.3116, allocations: 35.94 kB / 1.079 GB, free: 15.28 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.0001518/0.3118, allocations: 113.4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005418/0.3123, allocations: 183.4 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3123, allocations: 3.938 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.3126, allocations: 83.92 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.313, allocations: 29.53 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.3138, allocations: 410.2 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3141, allocations: 0.7352 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.3143, allocations: 60.3 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.3143, allocations: 19.42 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3144, allocations: 0 / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.004634/0.319, allocations: 1.69 MB / 1.082 GB, free: 11.94 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)