Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 391.2 MB / 407 MB, free: 10.9 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.001245/0.001245, allocations: 187.4 kB / 499.1 MB, free: 4.68 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.601/1.601, allocations: 222.9 MB / 0.7948 GB, free: 15.78 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.0009668/0.0009669, allocations: 118.7 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 52.59 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2944, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006134/0.3006, allocations: 4.4 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.149/0.4497, allocations: 148.4 MB / 1.367 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.4508, allocations: 19.88 kB / 1.367 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.4515, allocations: 134.9 kB / 1.367 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.4532, allocations: 402.3 kB / 1.368 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.4554, allocations: 0.7857 MB / 1.369 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.4568, allocations: 1.29 MB / 1.37 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.4579, allocations: 0.7643 MB / 1.371 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007942/0.4587, allocations: 474.1 kB / 1.371 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005872/0.4593, allocations: 0.5327 MB / 1.372 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.4595, allocations: 68 kB / 1.372 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.4605, allocations: 443.6 kB / 1.372 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.4608, allocations: 274.9 kB / 1.372 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.4613, allocations: 0.5359 MB / 1.373 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.463, allocations: 1.643 MB / 1.374 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4631, allocations: 4 kB / 1.374 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4631, allocations: 0 / 1.374 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.4631, allocations: 0 / 1.374 GB, free: 4.559 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002871/0.466, allocations: 1.564 MB / 1.376 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.466, allocations: 15.98 kB / 1.376 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.4709, allocations: 0.7484 MB / 1.377 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.4722, allocations: 0.7734 MB / 1.377 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/0.4723, allocations: 74.09 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4724, allocations: 108 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.4755, allocations: 1.364 MB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.4755, allocations: 3.984 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4756, allocations: 44 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.4756, allocations: 24 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004334/0.48, allocations: 1.838 MB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/0.4861, allocations: 3.122 MB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/0.4894, allocations: 1.285 MB / 1.385 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4908, allocations: 0.5644 MB / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.4915, allocations: 486.6 kB / 1.386 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.4933, allocations: 0.7309 MB / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=100): time 3.036e-06/0.4933, allocations: 0 / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100): time 0.00597/0.4993, allocations: 1.844 MB / 1.389 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.4995, allocations: 196.9 kB / 1.389 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.5004, allocations: 0.6096 MB / 1.389 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/0.5005, allocations: 41.7 kB / 1.389 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.5009, allocations: 424.3 kB / 1.39 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.5012, allocations: 327.2 kB / 1.39 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003442/0.5016, allocations: 190.5 kB / 1.39 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5018, allocations: 382.8 kB / 1.391 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.5031, allocations: 485.6 kB / 1.391 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.5046, allocations: 0.5779 MB / 1.392 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.5074, allocations: 1.023 MB / 1.393 GB, free: 1.238 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5074, allocations: 0 / 1.393 GB, free: 1.238 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003806/0.5112, allocations: 1.294 MB / 1.394 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5113, allocations: 4 kB / 1.394 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5113, allocations: 0 / 1.394 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.5119, allocations: 88.89 kB / 1.394 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.5132, allocations: 251.6 kB / 1.394 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.5152, allocations: 1.52 MB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.5165, allocations: 155.1 kB / 1.396 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.5166, allocations: 39.97 kB / 1.396 GB, free: 13.74 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000539/0.5172, allocations: 283.3 kB / 1.396 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.5174, allocations: 90.97 kB / 1.396 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.5218, allocations: 1.581 MB / 1.398 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5219, allocations: 16 kB / 1.398 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5219, allocations: 0 / 1.398 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5219, allocations: 3.984 kB / 1.398 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006187/0.5281, allocations: 2.726 MB / 1.401 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5281, allocations: 4 kB / 1.401 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.5294, allocations: 251.6 kB / 1.401 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/0.5299, allocations: 84.77 kB / 1.401 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.571e-05/0.53, allocations: 27.98 kB / 1.401 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.5319, allocations: 1.548 MB / 1.402 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5319, allocations: 0 / 1.402 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006444/0.5383, allocations: 2.747 MB / 1.405 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.539, allocations: 299.7 kB / 1.405 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.5392, allocations: 20 kB / 1.405 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5404, allocations: 116.7 kB / 1.406 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.5406, allocations: 84.81 kB / 1.406 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.5407, allocations: 47.97 kB / 1.406 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007196/0.5415, allocations: 439 kB / 1.406 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5415, allocations: 0 / 1.406 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001408/0.5429, allocations: 371 kB / 1.406 GB, free: 2.742 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.5444, allocations: 0.6019 MB / 1.407 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003821/0.5482, allocations: 1.315 MB / 1.408 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.5482, allocations: 0 / 1.408 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.5502, allocations: 0.7656 MB / 1.409 GB, free: 212 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5515, allocations: 279.7 kB / 1.409 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.558, allocations: 3.103 MB / 1.412 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/0.559, allocations: 1.088 MB / 1.413 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001688/0.5607, allocations: 331 kB / 1.414 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.5612, allocations: 119.4 kB / 1.414 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of SimCode: time 2.335e-06/0.5612, allocations: 0 / 1.414 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of Templates: time 0.5697/1.131, allocations: 16.98 MB / 1.43 GB, free: 201.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)