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.003743/0.003743, allocations: 103 kB / 15.74 MB, free: 6.059 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: 189.4 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7992/0.7992, allocations: 135.6 MB / 426.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.73 kB / 0.5857 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1466, allocations: 81.01 MB / 0.6648 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00617/0.1528, allocations: 4.193 MB / 0.6689 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.463/0.6158, allocations: 150.5 MB / 0.8159 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.6165, allocations: 20.22 kB / 0.8159 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.617, allocations: 171.3 kB / 0.8161 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.6183, allocations: 476.9 kB / 0.8165 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.6199, allocations: 0.8049 MB / 0.8173 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009493/0.6209, allocations: 1.213 MB / 0.8185 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008225/0.6217, allocations: 0.702 MB / 0.8192 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.6222, allocations: 468.7 kB / 0.8197 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.6227, allocations: 488.8 kB / 0.8201 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.6229, allocations: 116.2 kB / 0.8202 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007718/0.6237, allocations: 489 kB / 0.8207 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.6239, allocations: 293.4 kB / 0.821 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.6244, allocations: 0.5354 MB / 0.8215 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.6261, allocations: 1.587 MB / 0.823 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6261, allocations: 0 / 0.823 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6262, allocations: 0 / 0.823 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.6262, allocations: 6.75 kB / 0.8231 GB, free: 4.664 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.00213/0.6283, allocations: 1.431 MB / 0.8245 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6284, allocations: 11.14 kB / 0.8245 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.6285, allocations: 152.7 kB / 0.8246 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.6301, allocations: 303.3 kB / 0.8249 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6312, allocations: 0.7553 MB / 0.8256 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.6313, allocations: 68.75 kB / 0.8257 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6314, allocations: 87.72 kB / 0.8258 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.6332, allocations: 1.005 MB / 0.8268 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6332, allocations: 0 / 0.8268 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.6333, allocations: 38.09 kB / 0.8268 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6333, allocations: 22.34 kB / 0.8268 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.6355, allocations: 1.226 MB / 0.828 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.6395, allocations: 2.548 MB / 0.8305 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.6419, allocations: 0.9306 MB / 0.8314 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.6426, allocations: 333.7 kB / 0.8317 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/0.6427, allocations: 35.52 kB / 0.8318 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009647/0.6436, allocations: 493.9 kB / 0.8322 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=75): time 1.944e-06/0.6437, allocations: 0 / 0.8322 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75): time 0.003481/0.6472, allocations: 1.233 MB / 0.8334 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.6473, allocations: 191.5 kB / 0.8336 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.648, allocations: 0.6 MB / 0.8342 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.648, allocations: 41.02 kB / 0.8343 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.6484, allocations: 423.4 kB / 0.8347 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.6486, allocations: 259.9 kB / 0.8349 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.6488, allocations: 135.8 kB / 0.835 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.649, allocations: 384.2 kB / 0.8354 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.6497, allocations: 270 kB / 0.8357 GB, free: 12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007693/0.6505, allocations: 375.2 kB / 0.836 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.6519, allocations: 0.6268 MB / 0.8366 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6519, allocations: 6.75 kB / 0.8366 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002127/0.654, allocations: 0.8259 MB / 0.8374 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.654, allocations: 7.344 kB / 0.8374 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6541, allocations: 0 / 0.8374 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.6546, allocations: 88.66 kB / 0.8375 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.6553, allocations: 168 kB / 0.8377 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.6577, allocations: 1.622 MB / 0.8393 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/0.6586, allocations: 103 kB / 0.8394 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.6587, allocations: 27.42 kB / 0.8394 GB, free: 9.277 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.0005346/0.6592, allocations: 259.3 kB / 0.8396 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.6594, allocations: 84.84 kB / 0.8397 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.6622, allocations: 1.109 MB / 0.8408 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6622, allocations: 10.41 kB / 0.8408 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6622, allocations: 3.938 kB / 0.8408 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6622, allocations: 3.984 kB / 0.8408 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.6659, allocations: 2.035 MB / 0.8428 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6659, allocations: 0 / 0.8428 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/0.6666, allocations: 171.8 kB / 0.843 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.6671, allocations: 78.66 kB / 0.8431 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.6671, allocations: 19.45 kB / 0.8431 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.6691, allocations: 1.65 MB / 0.8447 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6691, allocations: 4.062 kB / 0.8447 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.6715, allocations: 1.025 MB / 0.8457 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.6718, allocations: 264.2 kB / 0.8459 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.672, allocations: 20 kB / 0.846 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.6727, allocations: 71.92 kB / 0.846 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6728, allocations: 64.91 kB / 0.8461 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-05/0.6729, allocations: 32.19 kB / 0.8461 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005748/0.6735, allocations: 439 kB / 0.8465 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.094e-06/0.6735, allocations: 0 / 0.8465 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008704/0.6744, allocations: 322.9 kB / 0.8468 GB, free: 3.32 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.0045/0.6789, allocations: 2.066 MB / 0.8489 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.681, allocations: 0.841 MB / 0.8497 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.681, allocations: 4 kB / 0.8497 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.6822, allocations: 0.5353 MB / 0.8502 GB, free: 8 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.6835, allocations: 292.8 kB / 0.8505 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.6957, allocations: 6.384 MB / 0.8567 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.6964, allocations: 1.027 MB / 0.8577 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008371/0.6973, allocations: 266.2 kB / 0.858 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.6978, allocations: 383.3 kB / 0.8584 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.6979, allocations: 4 kB / 0.8584 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/0.8748, allocations: 20.8 MB / 0.8787 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.7, allocations: 15.97 kB / 0.8787 GB, free: 3.023 MB / 0.6387 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)