Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001034, allocations: 179 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008669/0.0008671, allocations: 82.98 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 11.5 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001929/0.2959, allocations: 1.582 MB / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2988, allocations: 3.232 MB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.2989, allocations: 0 / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.2992, allocations: 43.75 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.2996, allocations: 115.4 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.782e-05/0.2997, allocations: 19.97 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2998, allocations: 159.2 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.2999, allocations: 21.67 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3001, allocations: 75.69 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.3003, allocations: 71.62 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.3003, allocations: 7.938 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.3004, allocations: 19.98 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.3004, allocations: 31.84 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.3004, allocations: 53.58 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.3006, allocations: 116 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3006, allocations: 4 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3006, allocations: 3.938 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3006, allocations: 0 / 0.9062 GB, free: 58.33 MB / 0.6042 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.0007505/0.3014, allocations: 494.5 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3014, allocations: 8.031 kB / 0.9067 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.3015, allocations: 27.67 kB / 0.9067 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3017, allocations: 233.7 kB / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3018, allocations: 0 / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3018, allocations: 4 kB / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3021, allocations: 149.5 kB / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3021, allocations: 0 / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3022, allocations: 3.984 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.3022, allocations: 19.98 kB / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.3026, allocations: 147.8 kB / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.3032, allocations: 448.6 kB / 0.9077 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.3036, allocations: 170.5 kB / 0.9079 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.3039, allocations: 120.7 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3039, allocations: 3.984 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.3039, allocations: 38.52 kB / 0.908 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3039, allocations: 0 / 0.908 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007531/0.3047, allocations: 305.7 kB / 0.9083 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.3047, allocations: 55.39 kB / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3049, allocations: 209 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3049, allocations: 25.7 kB / 0.9086 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.305, allocations: 124 kB / 0.9087 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.305, allocations: 47.36 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.305, allocations: 0 / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.3051, allocations: 330.8 kB / 0.9091 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3053, allocations: 79.94 kB / 0.9092 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.3055, allocations: 86.69 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3057, allocations: 79.94 kB / 0.9093 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3057, allocations: 0 / 0.9093 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000471/0.3062, allocations: 221.4 kB / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3062, allocations: 7.953 kB / 0.9095 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3062, allocations: 3.938 kB / 0.9095 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3062, allocations: 4 kB / 0.9095 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.3065, allocations: 39.95 kB / 0.9096 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3065, allocations: 0 / 0.9096 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.3067, allocations: 23.92 kB / 0.9096 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3067, allocations: 4 kB / 0.9096 GB, free: 54.67 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/0.3068, allocations: 135.8 kB / 0.9097 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.3068, allocations: 19.72 kB / 0.9097 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.3069, allocations: 33.78 kB / 0.9098 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3069, allocations: 3.938 kB / 0.9098 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3069, allocations: 0 / 0.9098 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3069, allocations: 0 / 0.9098 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3072, allocations: 257.5 kB / 0.91 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3072, allocations: 3.938 kB / 0.91 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.3074, allocations: 39.97 kB / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3074, allocations: 0 / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3074, allocations: 7.984 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3074, allocations: 3.953 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3074, allocations: 3.938 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.3079, allocations: 319.1 kB / 0.9104 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.308, allocations: 108.9 kB / 0.9105 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.308, allocations: 4 kB / 0.9105 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3082, allocations: 27.91 kB / 0.9105 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.3083, allocations: 11.94 kB / 0.9105 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3083, allocations: 4 kB / 0.9105 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.628e-05/0.3084, allocations: 152.5 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3084, allocations: 0 / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002418/0.3087, allocations: 43.94 kB / 0.9107 GB, free: 53.41 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.3088, allocations: 107.2 kB / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3093, allocations: 185.2 kB / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3093, allocations: 0 / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.3095, allocations: 91.94 kB / 0.9111 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3099, allocations: 28.66 kB / 0.9111 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.3106, allocations: 0.5028 MB / 0.9116 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3108, allocations: 0.7278 MB / 0.9123 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.3108, allocations: 19.42 kB / 0.9123 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.3108, allocations: 0 / 0.9123 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.003351/0.3142, allocations: 2.213 MB / 0.9145 GB, free: 49.5 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)