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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007333/0.007333, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001257/0.001257, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9427/0.9427, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 0.5856 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5434, allocations: 80.91 MB / 0.6646 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006168/0.5496, allocations: 4.183 MB / 0.6687 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1957/0.7454, allocations: 150.5 MB / 0.8157 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.7466, allocations: 23.88 kB / 0.8157 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.7472, allocations: 166.5 kB / 0.8159 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.7492, allocations: 496.3 kB / 0.8163 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.7514, allocations: 0.8033 MB / 0.8171 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.7528, allocations: 1.211 MB / 0.8183 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/0.7538, allocations: 0.7055 MB / 0.819 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.7545, allocations: 474.4 kB / 0.8194 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.755, allocations: 489.8 kB / 0.8199 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.7552, allocations: 116 kB / 0.82 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.7562, allocations: 487.6 kB / 0.8205 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.7565, allocations: 291 kB / 0.8208 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.757, allocations: 0.5323 MB / 0.8213 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.7588, allocations: 1.584 MB / 0.8228 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7588, allocations: 0 / 0.8228 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7589, allocations: 0 / 0.8228 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.7589, allocations: 0 / 0.8228 GB, free: 15.09 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.002308/0.7612, allocations: 1.392 MB / 0.8242 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7613, allocations: 15.97 kB / 0.8242 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.7629, allocations: 295.3 kB / 0.8245 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.7641, allocations: 0.7539 MB / 0.8252 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.7642, allocations: 66 kB / 0.8253 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.7643, allocations: 88 kB / 0.8254 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.7662, allocations: 1.007 MB / 0.8264 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.7662, allocations: 0 / 0.8264 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/0.7663, allocations: 44 kB / 0.8264 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.7664, allocations: 20 kB / 0.8264 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.7686, allocations: 1.218 MB / 0.8276 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.7728, allocations: 2.528 MB / 0.8301 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.7753, allocations: 0.9468 MB / 0.831 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.7761, allocations: 334.8 kB / 0.8313 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.866e-05/0.7761, allocations: 32.67 kB / 0.8314 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.7772, allocations: 495.1 kB / 0.8318 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=75): time 2.554e-06/0.7772, allocations: 0 / 0.8318 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75): time 0.003643/0.7808, allocations: 1.234 MB / 0.833 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.781, allocations: 188.6 kB / 0.8332 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.7818, allocations: 0.6095 MB / 0.8338 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.7819, allocations: 41.7 kB / 0.8338 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.7822, allocations: 396.2 kB / 0.8342 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.7824, allocations: 248.4 kB / 0.8345 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.7827, allocations: 154.5 kB / 0.8346 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7828, allocations: 390.7 kB / 0.835 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.7836, allocations: 293.8 kB / 0.8353 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.7844, allocations: 379.1 kB / 0.8356 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.7859, allocations: 0.6541 MB / 0.8363 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7859, allocations: 0 / 0.8363 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002348/0.7882, allocations: 0.8839 MB / 0.8371 GB, free: 80 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.7883, allocations: 8 kB / 0.8371 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7883, allocations: 0 / 0.8371 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/0.7889, allocations: 88.88 kB / 0.8372 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.7897, allocations: 167.8 kB / 0.8374 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.792, allocations: 1.633 MB / 0.839 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.7929, allocations: 103.4 kB / 0.8391 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.793, allocations: 31.97 kB / 0.8391 GB, free: 13.9 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: 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 (86): * Single equations (assignments): 85 * 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.0005511/0.7935, allocations: 270.8 kB / 0.8394 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.7937, allocations: 75.06 kB / 0.8394 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.7964, allocations: 1.1 MB / 0.8405 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.7964, allocations: 19.94 kB / 0.8405 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7964, allocations: 0 / 0.8405 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7964, allocations: 7.922 kB / 0.8405 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.8002, allocations: 2.032 MB / 0.8425 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.8003, allocations: 0 / 0.8425 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.801, allocations: 167.8 kB / 0.8427 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.8015, allocations: 68.78 kB / 0.8427 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.8015, allocations: 23.98 kB / 0.8428 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.8036, allocations: 1.666 MB / 0.8444 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8036, allocations: 0 / 0.8444 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.8061, allocations: 1.018 MB / 0.8454 GB, free: 7.211 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.8065, allocations: 263.7 kB / 0.8456 GB, free: 6.934 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.8066, allocations: 16 kB / 0.8457 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.8074, allocations: 75.92 kB / 0.8457 GB, free: 6.844 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.8075, allocations: 60.91 kB / 0.8458 GB, free: 6.785 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.8076, allocations: 31.98 kB / 0.8458 GB, free: 6.754 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005924/0.8082, allocations: 435 kB / 0.8462 GB, free: 6.336 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8082, allocations: 0 / 0.8462 GB, free: 6.336 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001057/0.8093, allocations: 307.2 kB / 0.8465 GB, free: 6.035 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.001574/0.8108, allocations: 0.6024 MB / 0.8471 GB, free: 5.605 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.8131, allocations: 0.8665 MB / 0.848 GB, free: 4.727 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.8131, allocations: 0 / 0.848 GB, free: 4.727 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.8142, allocations: 0.5469 MB / 0.8485 GB, free: 4.168 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.8156, allocations: 289.4 kB / 0.8488 GB, free: 3.91 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.8199, allocations: 1.775 MB / 0.8505 GB, free: 2.105 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.8205, allocations: 1.019 MB / 0.8515 GB, free: 1.059 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009531/0.8215, allocations: 274.2 kB / 0.8518 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.8218, allocations: 99.39 kB / 0.8519 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.8218, allocations: 7.875 kB / 0.8519 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of Templates: time 0.0267/0.8485, allocations: 14.54 MB / 0.8661 GB, free: 2.293 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)