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.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001492/0.001492, allocations: 199.3 kB / 16.14 MB, free: 6.695 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8263/0.8263, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 65.09 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1229, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004848/0.1278, allocations: 4.192 MB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3217/0.4495, allocations: 148.2 MB / 0.7326 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.4501, allocations: 19.88 kB / 0.7326 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.4507, allocations: 133.6 kB / 0.7328 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.452, allocations: 396.3 kB / 0.7331 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.4535, allocations: 0.6933 MB / 0.7338 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.4546, allocations: 1.121 MB / 0.7349 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000887/0.4555, allocations: 0.6821 MB / 0.7356 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.4561, allocations: 408.3 kB / 0.736 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.4567, allocations: 469.5 kB / 0.7364 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.4569, allocations: 62.06 kB / 0.7365 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.4576, allocations: 406.1 kB / 0.7369 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.4578, allocations: 245.9 kB / 0.7371 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.4583, allocations: 496.7 kB / 0.7376 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.4596, allocations: 1.493 MB / 0.739 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4596, allocations: 0 / 0.739 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.01e-07/0.4596, allocations: 0 / 0.739 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.087e-05/0.4596, allocations: 0 / 0.739 GB, free: 10.89 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.002326/0.4619, allocations: 1.404 MB / 0.7404 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.462, allocations: 9.844 kB / 0.7404 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.4621, allocations: 147.7 kB / 0.7406 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.4638, allocations: 296.6 kB / 0.7408 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008848/0.4647, allocations: 0.7316 MB / 0.7415 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.4648, allocations: 67.75 kB / 0.7416 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.4649, allocations: 86.34 kB / 0.7417 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.4665, allocations: 1.01 MB / 0.7427 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4666, allocations: 0 / 0.7427 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/0.4667, allocations: 38.66 kB / 0.7427 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.4667, allocations: 25.12 kB / 0.7427 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.4687, allocations: 1.224 MB / 0.7439 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.4723, allocations: 2.569 MB / 0.7464 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.4745, allocations: 0.9394 MB / 0.7474 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/0.4751, allocations: 331.6 kB / 0.7477 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/0.4752, allocations: 33.3 kB / 0.7477 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009532/0.4762, allocations: 488.8 kB / 0.7482 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 1.824e-06/0.4762, allocations: 0 / 0.7482 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003286/0.4795, allocations: 1.241 MB / 0.7494 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.4796, allocations: 188.6 kB / 0.7496 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.4802, allocations: 0.5979 MB / 0.7502 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.4803, allocations: 41.7 kB / 0.7502 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.4805, allocations: 412.1 kB / 0.7506 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.4807, allocations: 244.4 kB / 0.7508 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.4809, allocations: 134.2 kB / 0.7509 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.481, allocations: 386.7 kB / 0.7513 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006277/0.4816, allocations: 269.1 kB / 0.7516 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.4824, allocations: 381.8 kB / 0.7519 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.4837, allocations: 0.6252 MB / 0.7525 GB, free: 44 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4837, allocations: 4 kB / 0.7526 GB, free: 40 kB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002022/0.4857, allocations: 0.8174 MB / 0.7534 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4858, allocations: 8 kB / 0.7534 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4858, allocations: 0 / 0.7534 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/0.4863, allocations: 92.69 kB / 0.7534 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.487, allocations: 159.8 kB / 0.7536 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.4888, allocations: 1.514 MB / 0.7551 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.4895, allocations: 107.3 kB / 0.7552 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.4895, allocations: 23.98 kB / 0.7552 GB, free: 13.18 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.0003048/0.4898, allocations: 261.7 kB / 0.7555 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.49, allocations: 79 kB / 0.7555 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.4926, allocations: 1.098 MB / 0.7566 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4926, allocations: 13.03 kB / 0.7566 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4926, allocations: 4 kB / 0.7566 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4926, allocations: 7.969 kB / 0.7566 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.4959, allocations: 2.04 MB / 0.7586 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.496, allocations: 0 / 0.7586 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.4967, allocations: 167.8 kB / 0.7588 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/0.4971, allocations: 84.77 kB / 0.7589 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.4972, allocations: 23.98 kB / 0.7589 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.4988, allocations: 1.542 MB / 0.7604 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4988, allocations: 5.938 kB / 0.7604 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.5009, allocations: 1.012 MB / 0.7614 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.5012, allocations: 271.4 kB / 0.7616 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5013, allocations: 16 kB / 0.7617 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006707/0.502, allocations: 79.86 kB / 0.7617 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.5021, allocations: 64.84 kB / 0.7618 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.5022, allocations: 32.11 kB / 0.7618 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004381/0.5026, allocations: 439 kB / 0.7622 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5026, allocations: 0 / 0.7622 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006919/0.5033, allocations: 307.1 kB / 0.7625 GB, free: 5.426 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.003385/0.5067, allocations: 2.064 MB / 0.7646 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.5084, allocations: 0.8331 MB / 0.7654 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5085, allocations: 4 kB / 0.7654 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.5095, allocations: 0.5431 MB / 0.7659 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5105, allocations: 256.2 kB / 0.7661 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.522, allocations: 6.974 MB / 0.773 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.5224, allocations: 1.025 MB / 0.774 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007799/0.5232, allocations: 266.3 kB / 0.7742 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.5237, allocations: 379.3 kB / 0.7746 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5237, allocations: 0 / 0.7746 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.945/2.469, allocations: 19.86 MB / 0.794 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/2.469, allocations: 309.8 kB / 0.7943 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/4.727, allocations: 0 / 0.7943 GB, free: 5.266 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)