Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_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.006199/0.006199, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001092/0.001092, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 422.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 62.59 kB / 0.5808 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.153, allocations: 80.22 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006528/0.1595, allocations: 4.178 MB / 0.6633 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5557/0.7152, allocations: 150.5 MB / 0.8102 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.7161, allocations: 20.75 kB / 0.8103 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.7166, allocations: 167.9 kB / 0.8104 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.7182, allocations: 482.2 kB / 0.8109 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.72, allocations: 0.8049 MB / 0.8117 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.7211, allocations: 1.209 MB / 0.8128 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.7219, allocations: 0.6993 MB / 0.8135 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/0.7225, allocations: 468.3 kB / 0.814 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.723, allocations: 487.8 kB / 0.8144 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.7231, allocations: 116.2 kB / 0.8145 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007477/0.7239, allocations: 488.3 kB / 0.815 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.7241, allocations: 300.4 kB / 0.8153 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.7245, allocations: 0.5352 MB / 0.8158 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.7259, allocations: 1.581 MB / 0.8174 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7259, allocations: 0 / 0.8174 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7259, allocations: 0 / 0.8174 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.7259, allocations: 2.5 kB / 0.8174 GB, free: 9.648 MB / 0.5919 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.00209/0.728, allocations: 1.396 MB / 0.8187 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.728, allocations: 7.938 kB / 0.8187 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.7282, allocations: 148.8 kB / 0.8189 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.7298, allocations: 296.6 kB / 0.8192 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.7308, allocations: 0.7558 MB / 0.8199 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.7309, allocations: 65.06 kB / 0.82 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.731, allocations: 87.59 kB / 0.82 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.7326, allocations: 1.003 MB / 0.821 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.7327, allocations: 4 kB / 0.821 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.7328, allocations: 42.3 kB / 0.8211 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.7328, allocations: 22.66 kB / 0.8211 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.7348, allocations: 1.219 MB / 0.8223 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/0.739, allocations: 2.552 MB / 0.8248 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.7413, allocations: 0.9371 MB / 0.8257 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.742, allocations: 332.1 kB / 0.826 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.611e-05/0.7421, allocations: 39.16 kB / 0.826 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009398/0.743, allocations: 490.9 kB / 0.8265 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=75): time 2.716e-06/0.7431, allocations: 2.906 kB / 0.8265 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75): time 0.003369/0.7464, allocations: 1.232 MB / 0.8277 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.7466, allocations: 187.5 kB / 0.8279 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007312/0.7473, allocations: 0.5999 MB / 0.8285 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.7474, allocations: 40.05 kB / 0.8285 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.7477, allocations: 414.5 kB / 0.8289 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.7479, allocations: 246.7 kB / 0.8292 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.7481, allocations: 143.9 kB / 0.8293 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7483, allocations: 380.6 kB / 0.8297 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.7489, allocations: 269.8 kB / 0.8299 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/0.7497, allocations: 370.8 kB / 0.8303 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.751, allocations: 0.6274 MB / 0.8309 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.751, allocations: 0 / 0.8309 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002119/0.7531, allocations: 0.8308 MB / 0.8317 GB, free: 360 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7532, allocations: 6.625 kB / 0.8317 GB, free: 356 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7532, allocations: 2.125 kB / 0.8317 GB, free: 356 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.7538, allocations: 87.27 kB / 0.8318 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.7545, allocations: 158.5 kB / 0.8319 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.7567, allocations: 1.632 MB / 0.8335 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007641/0.7575, allocations: 101.4 kB / 0.8336 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/0.7575, allocations: 28.2 kB / 0.8336 GB, free: 14.59 MB / 0.6075 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.0004521/0.758, allocations: 259.1 kB / 0.8339 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.7581, allocations: 74.34 kB / 0.834 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.7608, allocations: 1.104 MB / 0.835 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.7608, allocations: 14.06 kB / 0.8351 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7608, allocations: 3.938 kB / 0.8351 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.7608, allocations: 3.984 kB / 0.8351 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.7644, allocations: 2.041 MB / 0.8371 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7644, allocations: 0 / 0.8371 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.7651, allocations: 161.1 kB / 0.8372 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.7656, allocations: 78.94 kB / 0.8373 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.7656, allocations: 21.11 kB / 0.8373 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.7675, allocations: 1.667 MB / 0.8389 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7675, allocations: 0 / 0.8389 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.7698, allocations: 1.018 MB / 0.8399 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.7702, allocations: 265.2 kB / 0.8402 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.7703, allocations: 23.28 kB / 0.8402 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.771, allocations: 71.64 kB / 0.8403 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.7712, allocations: 66.16 kB / 0.8403 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.7712, allocations: 28.52 kB / 0.8404 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005661/0.7718, allocations: 441.2 kB / 0.8408 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7718, allocations: 0 / 0.8408 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008607/0.7727, allocations: 306 kB / 0.8411 GB, free: 9.457 MB / 0.6075 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.003924/0.7766, allocations: 2.059 MB / 0.8431 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.7787, allocations: 0.8381 MB / 0.8439 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.7787, allocations: 4 kB / 0.8439 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.7799, allocations: 0.5354 MB / 0.8444 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.7813, allocations: 293.3 kB / 0.8447 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.7939, allocations: 6.347 MB / 0.8509 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.7947, allocations: 1.027 MB / 0.8519 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008782/0.7956, allocations: 270.2 kB / 0.8522 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.7962, allocations: 383.3 kB / 0.8525 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.7962, allocations: 0 / 0.8525 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05146/0.8477, allocations: 21.18 MB / 0.8732 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.98, allocations: 10.94 kB / 0.8732 GB, free: 9.203 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)