Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.217/2.217, allocations: 391.2 MB / 407 MB, free: 10.76 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 191.4 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 107.7 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 48.14 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2709, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.0052/0.2762, allocations: 4.472 MB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.2797, allocations: 2.975 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005976/0.2803, allocations: 11.94 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.2824, allocations: 0.862 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009009/0.2833, allocations: 318 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.2838, allocations: 187.8 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2849, allocations: 1.153 MB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.2854, allocations: 345.9 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.2859, allocations: 330.2 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.2865, allocations: 437.8 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-05/0.2866, allocations: 32 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.2868, allocations: 63.97 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2869, allocations: 155.2 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.2873, allocations: 405.5 kB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.2879, allocations: 0.9144 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2879, allocations: 0 / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2879, allocations: 0 / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.076e-05/0.2879, allocations: 0 / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00173/0.2897, allocations: 1.187 MB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2897, allocations: 11.98 kB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000904/0.2906, allocations: 227.5 kB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.2914, allocations: 0.679 MB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2915, allocations: 33.38 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.2915, allocations: 48.12 kB / 1.233 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008052/0.2923, allocations: 482 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2924, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.2924, allocations: 16 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2924, allocations: 12 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.2933, allocations: 387.8 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.2954, allocations: 1.486 MB / 1.235 GB, free: 99.81 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.2959, allocations: 271.2 kB / 1.235 GB, free: 99.54 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.2962, allocations: 141.2 kB / 1.235 GB, free: 99.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.2962, allocations: 8.234 kB / 1.235 GB, free: 99.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2962, allocations: 42.78 kB / 1.235 GB, free: 99.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.2962, allocations: 0 / 1.235 GB, free: 99.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.001823/0.2981, allocations: 0.6752 MB / 1.236 GB, free: 98.64 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2981, allocations: 85.09 kB / 1.236 GB, free: 98.54 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.2991, allocations: 0.9271 MB / 1.237 GB, free: 97.59 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2991, allocations: 33.7 kB / 1.237 GB, free: 97.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.2993, allocations: 424.2 kB / 1.237 GB, free: 97.13 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.2994, allocations: 90.72 kB / 1.237 GB, free: 97.04 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.2995, allocations: 65.97 kB / 1.238 GB, free: 96.97 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.2996, allocations: 314 kB / 1.238 GB, free: 96.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.2999, allocations: 141.9 kB / 1.238 GB, free: 96.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.3003, allocations: 167.8 kB / 1.238 GB, free: 96.35 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.3008, allocations: 265.5 kB / 1.238 GB, free: 96.09 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3008, allocations: 0 / 1.238 GB, free: 96.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001076/0.3019, allocations: 0.4932 MB / 1.239 GB, free: 95.58 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3019, allocations: 4 kB / 1.239 GB, free: 95.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3019, allocations: 0 / 1.239 GB, free: 95.58 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.3023, allocations: 88.78 kB / 1.239 GB, free: 95.49 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.3027, allocations: 75.83 kB / 1.239 GB, free: 95.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.3042, allocations: 1.683 MB / 1.241 GB, free: 93.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.3048, allocations: 91.48 kB / 1.241 GB, free: 93.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3048, allocations: 7.984 kB / 1.241 GB, free: 93.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005253/0.3053, allocations: 356 kB / 1.241 GB, free: 93.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003413/0.3057, allocations: 170.6 kB / 1.241 GB, free: 92.97 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004996/0.3062, allocations: 257.4 kB / 1.241 GB, free: 92.72 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.3062, allocations: 0 / 1.241 GB, free: 92.72 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001033/0.3072, allocations: 0.4892 MB / 1.242 GB, free: 92.22 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.3073, allocations: 5.094 kB / 1.242 GB, free: 92.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.3073, allocations: 3.984 kB / 1.242 GB, free: 92.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.3076, allocations: 100.7 kB / 1.242 GB, free: 92.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.3079, allocations: 59.95 kB / 1.242 GB, free: 92.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.3091, allocations: 1.672 MB / 1.244 GB, free: 90.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.3097, allocations: 75.8 kB / 1.244 GB, free: 90.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3098, allocations: 11.98 kB / 1.244 GB, free: 90.16 MB / 0.823 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.3099, allocations: 194.5 kB / 1.244 GB, free: 89.96 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.31, allocations: 94.81 kB / 1.244 GB, free: 89.87 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.3101, allocations: 93.06 kB / 1.244 GB, free: 89.78 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3101, allocations: 4 kB / 1.244 GB, free: 89.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3101, allocations: 4 kB / 1.244 GB, free: 89.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3102, allocations: 3.984 kB / 1.244 GB, free: 89.77 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.3116, allocations: 1.044 MB / 1.245 GB, free: 88.65 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3116, allocations: 0 / 1.245 GB, free: 88.65 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.3118, allocations: 39.97 kB / 1.245 GB, free: 88.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003773/0.3122, allocations: 88.72 kB / 1.245 GB, free: 88.52 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.3122, allocations: 12.12 kB / 1.245 GB, free: 88.51 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.3134, allocations: 1.644 MB / 1.247 GB, free: 86.73 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3134, allocations: 4.031 kB / 1.247 GB, free: 86.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.3146, allocations: 1.364 MB / 1.248 GB, free: 85.29 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.3149, allocations: 191.9 kB / 1.248 GB, free: 85.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.315, allocations: 0 / 1.248 GB, free: 85.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.3154, allocations: 35.97 kB / 1.249 GB, free: 85.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.3155, allocations: 23.91 kB / 1.249 GB, free: 85.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3155, allocations: 12 kB / 1.249 GB, free: 85.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008074/0.3163, allocations: 0.6649 MB / 1.249 GB, free: 84.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.11e-07/0.3163, allocations: 0 / 1.249 GB, free: 84.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008794/0.3172, allocations: 267.5 kB / 1.249 GB, free: 84.08 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.3174, allocations: 107.2 kB / 1.25 GB, free: 83.96 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.319, allocations: 0.7391 MB / 1.25 GB, free: 83.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.319, allocations: 0 / 1.25 GB, free: 83.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.3193, allocations: 262.4 kB / 1.251 GB, free: 82.93 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.3202, allocations: 159.5 kB / 1.251 GB, free: 82.77 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.3227, allocations: 1.927 MB / 1.253 GB, free: 80.79 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.3233, allocations: 1.047 MB / 1.254 GB, free: 79.71 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004524/0.3237, allocations: 113.3 kB / 1.254 GB, free: 79.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3239, allocations: 47.44 kB / 1.254 GB, free: 79.55 MB / 0.823 GB Notification: Performance of SimCode: time 1.383e-06/0.3239, allocations: 0 / 1.254 GB, free: 79.55 MB / 0.823 GB Notification: Performance of Templates: time 0.01295/0.3368, allocations: 8.702 MB / 1.262 GB, free: 70.97 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1)