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.005005/0.005005, allocations: 102.5 kB / 15.73 MB, free: 6.062 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.001129/0.001129, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.56 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1318, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005884/0.1377, allocations: 4.191 MB / 0.6633 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4926/0.6303, allocations: 150.5 MB / 0.8102 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.6311, allocations: 17.94 kB / 0.8103 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.6317, allocations: 179.5 kB / 0.8104 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.633, allocations: 473.4 kB / 0.8109 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.6345, allocations: 0.807 MB / 0.8117 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.6354, allocations: 1.216 MB / 0.8128 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.6362, allocations: 0.6987 MB / 0.8135 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.6367, allocations: 476.7 kB / 0.814 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.6372, allocations: 492.9 kB / 0.8145 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.6373, allocations: 113.4 kB / 0.8146 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006941/0.638, allocations: 482.6 kB / 0.815 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.6382, allocations: 295.8 kB / 0.8153 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.6386, allocations: 0.5334 MB / 0.8158 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.64, allocations: 1.591 MB / 0.8174 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.64, allocations: 0 / 0.8174 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.64, allocations: 0 / 0.8174 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.64, allocations: 2.688 kB / 0.8174 GB, free: 9.672 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.001997/0.642, allocations: 1.399 MB / 0.8188 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6421, allocations: 9.75 kB / 0.8188 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.6422, allocations: 143.6 kB / 0.8189 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.6437, allocations: 292.4 kB / 0.8192 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.6447, allocations: 0.7499 MB / 0.8199 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.6447, allocations: 66.56 kB / 0.82 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.6449, allocations: 88.16 kB / 0.8201 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.6464, allocations: 1.013 MB / 0.821 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6465, allocations: 0 / 0.821 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/0.6466, allocations: 42.41 kB / 0.8211 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.6466, allocations: 22.38 kB / 0.8211 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.6486, allocations: 1.219 MB / 0.8223 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.6522, allocations: 2.549 MB / 0.8248 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.6544, allocations: 0.9352 MB / 0.8257 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.6551, allocations: 337.1 kB / 0.826 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.98e-05/0.6552, allocations: 27.16 kB / 0.826 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008852/0.6561, allocations: 489.8 kB / 0.8265 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=75): time 1.983e-06/0.6561, allocations: 0 / 0.8265 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75): time 0.003218/0.6593, allocations: 1.232 MB / 0.8277 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.6594, allocations: 191.4 kB / 0.8279 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.6601, allocations: 0.6012 MB / 0.8285 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.6601, allocations: 42.33 kB / 0.8285 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.6604, allocations: 414.8 kB / 0.8289 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.6606, allocations: 244.7 kB / 0.8292 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.6608, allocations: 137.9 kB / 0.8293 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.661, allocations: 388.2 kB / 0.8297 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.6616, allocations: 274.1 kB / 0.8299 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.6623, allocations: 373.5 kB / 0.8303 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6637, allocations: 0.629 MB / 0.8309 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6637, allocations: 0 / 0.8309 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001945/0.6656, allocations: 0.8165 MB / 0.8317 GB, free: 344 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.6657, allocations: 11.84 kB / 0.8317 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6657, allocations: 0 / 0.8317 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/0.6662, allocations: 87.86 kB / 0.8318 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.6669, allocations: 164.3 kB / 0.8319 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.6688, allocations: 1.624 MB / 0.8335 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.6695, allocations: 104.1 kB / 0.8336 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.6695, allocations: 26.33 kB / 0.8336 GB, free: 14.58 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.0003653/0.6699, allocations: 259.4 kB / 0.8339 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6701, allocations: 80.59 kB / 0.834 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.6726, allocations: 1.102 MB / 0.835 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6726, allocations: 12.12 kB / 0.8351 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6726, allocations: 10.34 kB / 0.8351 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.6726, allocations: 3.984 kB / 0.8351 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.676, allocations: 2.033 MB / 0.8371 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6761, allocations: 0 / 0.8371 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.6767, allocations: 171.9 kB / 0.8372 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.6772, allocations: 74.53 kB / 0.8373 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.6772, allocations: 23.48 kB / 0.8373 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.6789, allocations: 1.656 MB / 0.8389 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6789, allocations: 0 / 0.8389 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.681, allocations: 1.025 MB / 0.8399 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.6813, allocations: 260.5 kB / 0.8402 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.6814, allocations: 25.48 kB / 0.8402 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007009/0.6821, allocations: 70.83 kB / 0.8403 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6823, allocations: 63.31 kB / 0.8403 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.6823, allocations: 34.33 kB / 0.8404 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004861/0.6828, allocations: 439.2 kB / 0.8408 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6828, allocations: 0 / 0.8408 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007782/0.6836, allocations: 302.8 kB / 0.8411 GB, free: 9.445 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.003576/0.6872, allocations: 2.068 MB / 0.8431 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.689, allocations: 0.8304 MB / 0.8439 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.689, allocations: 8 kB / 0.8439 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.6901, allocations: 0.5392 MB / 0.8444 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6913, allocations: 289.9 kB / 0.8447 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.7021, allocations: 6.352 MB / 0.8509 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.7027, allocations: 1.019 MB / 0.8519 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008139/0.7035, allocations: 273.7 kB / 0.8522 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/0.704, allocations: 379.3 kB / 0.8525 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/0.704, allocations: 0 / 0.8525 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/0.7666, allocations: 20.8 MB / 0.8729 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.52, allocations: 7.938 kB / 0.8729 GB, free: 9.578 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)