Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008524/0.008524, allocations: 102.5 kB / 15.73 MB, free: 6.047 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.001958/0.001958, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9227/0.9227, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 64.05 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4229, allocations: 80.9 MB / 0.6641 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00542/0.4283, allocations: 4.2 MB / 0.6682 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.594, allocations: 150.5 MB / 0.8152 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008708/0.5949, allocations: 15.94 kB / 0.8152 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.5955, allocations: 182.3 kB / 0.8154 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.5972, allocations: 474.2 kB / 0.8158 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.5993, allocations: 0.8071 MB / 0.8166 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.6006, allocations: 1.219 MB / 0.8178 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.6014, allocations: 0.705 MB / 0.8185 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.602, allocations: 462.4 kB / 0.819 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.6025, allocations: 493.8 kB / 0.8194 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.6026, allocations: 112 kB / 0.8195 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008709/0.6035, allocations: 487.6 kB / 0.82 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.6038, allocations: 295 kB / 0.8203 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.6042, allocations: 0.5401 MB / 0.8208 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.6057, allocations: 1.577 MB / 0.8223 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6058, allocations: 0 / 0.8223 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6058, allocations: 4 kB / 0.8224 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.6058, allocations: 0 / 0.8224 GB, free: 15.06 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002089/0.6079, allocations: 1.408 MB / 0.8237 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6079, allocations: 8.031 kB / 0.8237 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.6081, allocations: 143.9 kB / 0.8239 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.6096, allocations: 295.3 kB / 0.8242 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.6108, allocations: 0.7499 MB / 0.8249 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.6109, allocations: 66 kB / 0.8249 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.611, allocations: 92 kB / 0.825 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.6128, allocations: 1.007 MB / 0.826 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6128, allocations: 3.938 kB / 0.826 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.6129, allocations: 36 kB / 0.8261 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.6129, allocations: 20 kB / 0.8261 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.6151, allocations: 1.221 MB / 0.8273 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.6192, allocations: 2.548 MB / 0.8298 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.6216, allocations: 0.9313 MB / 0.8307 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.6223, allocations: 334.7 kB / 0.831 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.6224, allocations: 32.67 kB / 0.831 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000966/0.6234, allocations: 483.2 kB / 0.8315 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=75): time 2.044e-06/0.6234, allocations: 0 / 0.8315 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75): time 0.003443/0.6269, allocations: 1.242 MB / 0.8327 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.627, allocations: 188.6 kB / 0.8329 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.6276, allocations: 0.6018 MB / 0.8335 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.6277, allocations: 37.7 kB / 0.8335 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.628, allocations: 416 kB / 0.8339 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.6282, allocations: 252.4 kB / 0.8341 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.6284, allocations: 134.3 kB / 0.8343 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6285, allocations: 378.8 kB / 0.8346 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.6292, allocations: 269.1 kB / 0.8349 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/0.63, allocations: 374.7 kB / 0.8352 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.6314, allocations: 0.6292 MB / 0.8358 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6314, allocations: 4 kB / 0.8359 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002115/0.6335, allocations: 0.8291 MB / 0.8367 GB, free: 0 / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.6336, allocations: 6.391 kB / 0.8367 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6336, allocations: 3.938 kB / 0.8367 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.6342, allocations: 80.83 kB / 0.8368 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.6349, allocations: 159.8 kB / 0.8369 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.6369, allocations: 1.63 MB / 0.8385 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/0.6376, allocations: 103.3 kB / 0.8386 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.6377, allocations: 27.98 kB / 0.8386 GB, free: 13.85 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (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 (78): * Single equations (assignments): 77 * 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.0003981/0.6381, allocations: 258.6 kB / 0.8389 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6383, allocations: 79.06 kB / 0.8389 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.6409, allocations: 1.1 MB / 0.84 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.641, allocations: 15.94 kB / 0.84 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.641, allocations: 4 kB / 0.84 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.641, allocations: 3.984 kB / 0.84 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.6446, allocations: 2.036 MB / 0.842 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6446, allocations: 4 kB / 0.842 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007016/0.6454, allocations: 171.8 kB / 0.8422 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.6458, allocations: 72.78 kB / 0.8423 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.685e-05/0.6459, allocations: 27.98 kB / 0.8423 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.6477, allocations: 1.642 MB / 0.8439 GB, free: 8.215 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6477, allocations: 12 kB / 0.8439 GB, free: 8.203 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.65, allocations: 1.021 MB / 0.8449 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.6504, allocations: 259.8 kB / 0.8452 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.6506, allocations: 19.94 kB / 0.8452 GB, free: 6.867 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.6513, allocations: 71.92 kB / 0.8452 GB, free: 6.797 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6514, allocations: 68.98 kB / 0.8453 GB, free: 6.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.6515, allocations: 31.98 kB / 0.8453 GB, free: 6.699 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005498/0.6521, allocations: 447 kB / 0.8458 GB, free: 6.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6521, allocations: 0 / 0.8458 GB, free: 6.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000844/0.6529, allocations: 299 kB / 0.846 GB, free: 5.977 MB / 0.67 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 (88): * Single equations (assignments): 85 * 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.003885/0.6568, allocations: 2.064 MB / 0.8481 GB, free: 4.066 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.6589, allocations: 0.8294 MB / 0.8489 GB, free: 3.227 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.659, allocations: 0 / 0.8489 GB, free: 3.227 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.6601, allocations: 0.5432 MB / 0.8494 GB, free: 2.668 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.6613, allocations: 297.3 kB / 0.8497 GB, free: 2.395 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.6741, allocations: 6.349 MB / 0.8559 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/0.6751, allocations: 1.019 MB / 0.8569 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001047/0.6762, allocations: 270.2 kB / 0.8571 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006578/0.6769, allocations: 383.3 kB / 0.8575 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of SimCode: time 9.42e-07/0.6769, allocations: 0 / 0.8575 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3864/1.063, allocations: 21.17 MB / 0.8782 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.42, allocations: 18.83 kB / 0.8782 GB, free: 187.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)