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.001174/0.001174, allocations: 112.6 kB / 16.37 MB, free: 6 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.001206/0.001206, allocations: 196 kB / 17.31 MB, free: 5.613 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7442/0.7442, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 75.81 kB / 0.5068 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3031, allocations: 80.9 MB / 0.5858 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005378/0.3085, allocations: 4.186 MB / 0.5899 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1417/0.4502, allocations: 150.5 MB / 0.7368 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.451, allocations: 19.88 kB / 0.7368 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.4516, allocations: 174.5 kB / 0.737 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.4532, allocations: 476.2 kB / 0.7375 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.4549, allocations: 0.8047 MB / 0.7382 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.456, allocations: 1.203 MB / 0.7394 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008105/0.4568, allocations: 0.7171 MB / 0.7401 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.4572, allocations: 458.4 kB / 0.7406 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.4577, allocations: 493.8 kB / 0.741 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.4578, allocations: 116 kB / 0.7411 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.4585, allocations: 491.5 kB / 0.7416 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.4588, allocations: 287.1 kB / 0.7419 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.4592, allocations: 0.5362 MB / 0.7424 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.4605, allocations: 1.581 MB / 0.744 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4605, allocations: 0 / 0.744 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4605, allocations: 0 / 0.744 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4606, allocations: 0 / 0.744 GB, free: 8.051 MB / 0.5762 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.001995/0.4626, allocations: 1.396 MB / 0.7453 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4626, allocations: 13.11 kB / 0.7453 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.4642, allocations: 299.2 kB / 0.7456 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.4652, allocations: 0.75 MB / 0.7463 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.4653, allocations: 66 kB / 0.7464 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4654, allocations: 87.94 kB / 0.7465 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.467, allocations: 1.007 MB / 0.7475 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.467, allocations: 0 / 0.7475 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.4671, allocations: 40 kB / 0.7475 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4671, allocations: 24 kB / 0.7475 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.4691, allocations: 1.221 MB / 0.7487 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.4728, allocations: 2.54 MB / 0.7512 GB, free: 424 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2398/0.7126, allocations: 0.9356 MB / 0.7521 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.7135, allocations: 329.8 kB / 0.7524 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/0.7136, allocations: 34.16 kB / 0.7525 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009858/0.7146, allocations: 492 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 3.106e-06/0.7146, allocations: 1.188 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.00339/0.718, allocations: 1.233 MB / 0.7541 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.7181, allocations: 194.4 kB / 0.7543 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.7189, allocations: 0.5981 MB / 0.7549 GB, free: 164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.719, allocations: 42.39 kB / 0.755 GB, free: 164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.7192, allocations: 402.4 kB / 0.7553 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.7194, allocations: 250.9 kB / 0.7556 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.7197, allocations: 158.8 kB / 0.7557 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7198, allocations: 378 kB / 0.7561 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.7205, allocations: 292.2 kB / 0.7564 GB, free: 163 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.7213, allocations: 386.1 kB / 0.7567 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.7227, allocations: 0.6494 MB / 0.7574 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7227, allocations: 0.5625 kB / 0.7574 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002322/0.7251, allocations: 0.8899 MB / 0.7582 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7251, allocations: 10.69 kB / 0.7583 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.7251, allocations: 1.094 kB / 0.7583 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.7257, allocations: 84.92 kB / 0.7583 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.7265, allocations: 174.8 kB / 0.7585 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.7282, allocations: 1.625 MB / 0.7601 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.7289, allocations: 94.2 kB / 0.7602 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.729, allocations: 38.39 kB / 0.7602 GB, free: 160.7 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.0003626/0.7294, allocations: 274.8 kB / 0.7605 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.7296, allocations: 82.14 kB / 0.7606 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.732, allocations: 1.104 MB / 0.7616 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.7321, allocations: 14.84 kB / 0.7616 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7321, allocations: 1.188 kB / 0.7616 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7321, allocations: 3.984 kB / 0.7617 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.7353, allocations: 2.024 MB / 0.7636 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.7353, allocations: 1.25 kB / 0.7636 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.736, allocations: 175.3 kB / 0.7638 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.7364, allocations: 69.42 kB / 0.7639 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.7364, allocations: 30.22 kB / 0.7639 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.7378, allocations: 1.65 MB / 0.7655 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7378, allocations: 0 / 0.7655 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.7397, allocations: 1.026 MB / 0.7665 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.74, allocations: 262 kB / 0.7668 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.7401, allocations: 25.06 kB / 0.7668 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.7407, allocations: 66.78 kB / 0.7668 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.7408, allocations: 64.91 kB / 0.7669 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.7409, allocations: 27.98 kB / 0.7669 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003713/0.7412, allocations: 442.7 kB / 0.7674 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7413, allocations: 0 / 0.7674 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006771/0.7419, allocations: 312.8 kB / 0.7677 GB, free: 155.4 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.001127/0.7431, allocations: 0.6016 MB / 0.7682 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.7447, allocations: 0.8695 MB / 0.7691 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7447, allocations: 8 kB / 0.7691 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008847/0.7456, allocations: 0.5391 MB / 0.7696 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/0.7465, allocations: 269.5 kB / 0.7699 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.7496, allocations: 1.775 MB / 0.7716 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.75, allocations: 1.028 MB / 0.7726 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006476/0.7506, allocations: 266.3 kB / 0.7729 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.7509, allocations: 99.39 kB / 0.773 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.7509, allocations: 0 / 0.773 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.9099/1.661, allocations: 14.4 MB / 0.787 GB, free: 135.9 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)