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.00119/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001355/0.001355, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 60.22 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1934, allocations: 80.93 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00598/0.1995, allocations: 4.185 MB / 0.5878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4669/0.6664, allocations: 148.2 MB / 0.7325 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008309/0.6673, allocations: 23.12 kB / 0.7325 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006809/0.668, allocations: 131.1 kB / 0.7327 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.6697, allocations: 398.8 kB / 0.733 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.6716, allocations: 0.6968 MB / 0.7337 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.673, allocations: 1.121 MB / 0.7348 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.6741, allocations: 0.6858 MB / 0.7355 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007183/0.6748, allocations: 398 kB / 0.7359 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.6756, allocations: 470.9 kB / 0.7363 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.6759, allocations: 61.09 kB / 0.7364 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.677, allocations: 401.6 kB / 0.7368 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.6773, allocations: 240.7 kB / 0.737 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.678, allocations: 0.4902 MB / 0.7375 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.68, allocations: 1.5 MB / 0.7389 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.68, allocations: 0 / 0.7389 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.11e-07/0.68, allocations: 0 / 0.7389 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.485e-05/0.6801, allocations: 0 / 0.7389 GB, free: 10.91 MB / 0.5606 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.003122/0.6832, allocations: 1.395 MB / 0.7403 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6833, allocations: 9.812 kB / 0.7403 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.6852, allocations: 295.7 kB / 0.7406 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.6864, allocations: 0.7269 MB / 0.7413 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.6865, allocations: 72.25 kB / 0.7414 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.6866, allocations: 87.12 kB / 0.7414 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.6888, allocations: 1.001 MB / 0.7424 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6888, allocations: 1.25 kB / 0.7424 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/0.6889, allocations: 40.06 kB / 0.7425 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.689, allocations: 26.44 kB / 0.7425 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.6912, allocations: 1.218 MB / 0.7437 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.6956, allocations: 2.577 MB / 0.7462 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.6982, allocations: 0.9317 MB / 0.7471 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000793/0.699, allocations: 339.5 kB / 0.7474 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.522e-05/0.6991, allocations: 31.97 kB / 0.7475 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/0.7004, allocations: 490.1 kB / 0.7479 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 6.702e-06/0.7005, allocations: 0 / 0.7479 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003789/0.7043, allocations: 1.237 MB / 0.7491 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.7044, allocations: 192.6 kB / 0.7493 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.7056, allocations: 0.5978 MB / 0.7499 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.7057, allocations: 37.7 kB / 0.7499 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.7062, allocations: 400.2 kB / 0.7503 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.7065, allocations: 260.3 kB / 0.7506 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.7068, allocations: 155.3 kB / 0.7507 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.707, allocations: 386.7 kB / 0.7511 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.7078, allocations: 289.8 kB / 0.7514 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/0.7087, allocations: 387.1 kB / 0.7517 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.7103, allocations: 0.6501 MB / 0.7524 GB, free: 176 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7103, allocations: 0 / 0.7524 GB, free: 176 kB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002523/0.7128, allocations: 0.88 MB / 0.7532 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.7129, allocations: 12.09 kB / 0.7532 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.7129, allocations: 1.688 kB / 0.7532 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/0.7135, allocations: 84.77 kB / 0.7533 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.7143, allocations: 167.7 kB / 0.7535 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.7167, allocations: 1.52 MB / 0.755 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.7177, allocations: 100.2 kB / 0.7551 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.7177, allocations: 31.97 kB / 0.7551 GB, free: 13.23 MB / 0.5762 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.0005325/0.7183, allocations: 261.8 kB / 0.7553 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.7185, allocations: 79 kB / 0.7554 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.7213, allocations: 1.108 MB / 0.7565 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.7213, allocations: 12 kB / 0.7565 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7213, allocations: 3.984 kB / 0.7565 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.7214, allocations: 3.984 kB / 0.7565 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.7254, allocations: 2.036 MB / 0.7585 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.7254, allocations: 7.938 kB / 0.7585 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.7262, allocations: 167.8 kB / 0.7587 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.7267, allocations: 80.72 kB / 0.7587 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/0.7268, allocations: 23.98 kB / 0.7588 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.7287, allocations: 1.544 MB / 0.7603 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7287, allocations: 0.5625 kB / 0.7603 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.7312, allocations: 1.016 MB / 0.7613 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.7316, allocations: 259.8 kB / 0.7615 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7317, allocations: 23.94 kB / 0.7615 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.7325, allocations: 82.3 kB / 0.7616 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.7326, allocations: 60.92 kB / 0.7617 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.7327, allocations: 31.97 kB / 0.7617 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005714/0.7333, allocations: 443 kB / 0.7621 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7333, allocations: 0 / 0.7621 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009132/0.7342, allocations: 307.1 kB / 0.7624 GB, free: 5.473 MB / 0.5762 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.00138/0.7356, allocations: 0.5944 MB / 0.763 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.7377, allocations: 0.8702 MB / 0.7639 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7377, allocations: 0 / 0.7639 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.7389, allocations: 0.5354 MB / 0.7644 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.74, allocations: 254.5 kB / 0.7646 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.7443, allocations: 2.217 MB / 0.7668 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.7449, allocations: 1.031 MB / 0.7678 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009252/0.7459, allocations: 266.3 kB / 0.768 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.7462, allocations: 99.33 kB / 0.7681 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.7462, allocations: 0 / 0.7681 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.02333/0.7695, allocations: 13.83 MB / 0.7816 GB, free: 2.074 MB / 0.5919 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)