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.001001/0.001001, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008251/0.008251, allocations: 171.7 kB / 16.26 MB, free: 6.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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8642/0.8642, allocations: 135.3 MB / 426.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003094, allocations: 12 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004325/0.1436, allocations: 3.772 MB / 0.5918 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3703/0.5139, allocations: 146.6 MB / 0.7349 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.5145, allocations: 14.75 kB / 0.7349 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.5151, allocations: 143.8 kB / 0.7351 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.5165, allocations: 393.5 kB / 0.7354 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.5184, allocations: 0.7003 MB / 0.7361 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.5197, allocations: 1.126 MB / 0.7372 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009682/0.5207, allocations: 0.6549 MB / 0.7379 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.5213, allocations: 320.4 kB / 0.7382 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.5219, allocations: 347.6 kB / 0.7385 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.5221, allocations: 26.81 kB / 0.7385 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008095/0.5229, allocations: 363.3 kB / 0.7389 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.5231, allocations: 182.1 kB / 0.739 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.5236, allocations: 435.5 kB / 0.7395 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.525, allocations: 1.445 MB / 0.7409 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.525, allocations: 1.594 kB / 0.7409 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5251, allocations: 4 kB / 0.7409 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.5251, allocations: 0 / 0.7409 GB, free: 11.71 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.001767/0.5268, allocations: 1.18 MB / 0.742 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5269, allocations: 9.219 kB / 0.742 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.527, allocations: 146.5 kB / 0.7422 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.5286, allocations: 310 kB / 0.7425 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.5295, allocations: 0.7365 MB / 0.7432 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.5295, allocations: 67.5 kB / 0.7433 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5296, allocations: 85.75 kB / 0.7433 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.5313, allocations: 1.009 MB / 0.7443 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.5314, allocations: 1.031 kB / 0.7443 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.5315, allocations: 40.78 kB / 0.7444 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.5315, allocations: 22.38 kB / 0.7444 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.5336, allocations: 1.229 MB / 0.7456 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.5371, allocations: 2.6 MB / 0.7481 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.5393, allocations: 0.9544 MB / 0.7491 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.5399, allocations: 336.4 kB / 0.7494 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.54, allocations: 29.83 kB / 0.7494 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008794/0.5409, allocations: 497.2 kB / 0.7499 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 1.793e-06/0.5409, allocations: 0 / 0.7499 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003147/0.5441, allocations: 1.247 MB / 0.7511 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.5441, allocations: 196.6 kB / 0.7513 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.5448, allocations: 0.5979 MB / 0.7519 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.5449, allocations: 41.7 kB / 0.7519 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.5451, allocations: 408.1 kB / 0.7523 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5453, allocations: 248.4 kB / 0.7525 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.5454, allocations: 53.69 kB / 0.7526 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5455, allocations: 386.7 kB / 0.753 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006413/0.5461, allocations: 273.1 kB / 0.7532 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.5469, allocations: 378.7 kB / 0.7536 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.5482, allocations: 0.6331 MB / 0.7542 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5482, allocations: 4 kB / 0.7542 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001997/0.5502, allocations: 0.8367 MB / 0.755 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5503, allocations: 8 kB / 0.755 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5503, allocations: 0 / 0.755 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005196/0.5508, allocations: 88.8 kB / 0.7551 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.5515, allocations: 159.8 kB / 0.7553 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.5532, allocations: 1.522 MB / 0.7567 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.5538, allocations: 107.4 kB / 0.7569 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.5539, allocations: 23.98 kB / 0.7569 GB, free: 14.93 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: 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.0003166/0.5542, allocations: 253.7 kB / 0.7571 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.5543, allocations: 83 kB / 0.7572 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.5569, allocations: 1.121 MB / 0.7583 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.5569, allocations: 12 kB / 0.7583 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5569, allocations: 0 / 0.7583 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.5569, allocations: 7.922 kB / 0.7583 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.5602, allocations: 2.045 MB / 0.7603 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.5602, allocations: 4.875 kB / 0.7603 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.5609, allocations: 167.8 kB / 0.7605 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/0.5614, allocations: 92.7 kB / 0.7606 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.5614, allocations: 23.98 kB / 0.7606 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.5631, allocations: 1.548 MB / 0.7621 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5631, allocations: 2.656 kB / 0.7621 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.5652, allocations: 1.035 MB / 0.7631 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.5655, allocations: 271.8 kB / 0.7634 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.5656, allocations: 23.92 kB / 0.7634 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.5663, allocations: 93.78 kB / 0.7635 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.5664, allocations: 56.92 kB / 0.7635 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.5665, allocations: 39.97 kB / 0.7636 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004485/0.5669, allocations: 443 kB / 0.764 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5669, allocations: 0 / 0.764 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007503/0.5677, allocations: 299.1 kB / 0.7643 GB, free: 7.105 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.003376/0.5711, allocations: 2.066 MB / 0.7663 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.5728, allocations: 0.8486 MB / 0.7671 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5728, allocations: 0 / 0.7671 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.5738, allocations: 0.5393 MB / 0.7677 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5749, allocations: 265.7 kB / 0.7679 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.5867, allocations: 7.042 MB / 0.7748 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.5872, allocations: 1.027 MB / 0.7758 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008092/0.5881, allocations: 266.2 kB / 0.776 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.5886, allocations: 383.3 kB / 0.7764 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5886, allocations: 0 / 0.7764 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.168/2.756, allocations: 19.56 MB / 0.7955 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/2.757, allocations: 309 kB / 0.7958 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/5.275, allocations: 0 / 0.7958 GB, free: 7.16 MB / 0.6075 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)