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.004859/0.004859, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001241/0.001241, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7862/0.7862, allocations: 135.1 MB / 425.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.53 kB / 0.5851 GB, free: 22.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.122, allocations: 80.92 MB / 0.6641 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005346/0.1273, allocations: 4.189 MB / 0.6682 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4228/0.5501, allocations: 150.5 MB / 0.8152 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.5508, allocations: 23.47 kB / 0.8152 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.5513, allocations: 171.6 kB / 0.8154 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.5525, allocations: 482.6 kB / 0.8159 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.5542, allocations: 0.8035 MB / 0.8166 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008764/0.5551, allocations: 1.221 MB / 0.8178 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.5558, allocations: 0.702 MB / 0.8185 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.5563, allocations: 466.8 kB / 0.819 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.5567, allocations: 490.1 kB / 0.8194 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.5569, allocations: 115.3 kB / 0.8195 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.5575, allocations: 495 kB / 0.82 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.5577, allocations: 287 kB / 0.8203 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.5581, allocations: 0.5422 MB / 0.8208 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.5596, allocations: 1.583 MB / 0.8224 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5596, allocations: 0 / 0.8224 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5597, allocations: 0 / 0.8224 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.5597, allocations: 4 kB / 0.8224 GB, free: 5.496 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.002145/0.5618, allocations: 1.442 MB / 0.8238 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.5619, allocations: 10.8 kB / 0.8238 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.562, allocations: 142.2 kB / 0.8239 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.5637, allocations: 309.5 kB / 0.8242 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.5649, allocations: 0.7566 MB / 0.825 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.5649, allocations: 67.5 kB / 0.825 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.565, allocations: 90.22 kB / 0.8251 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.5668, allocations: 1.004 MB / 0.8261 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.5669, allocations: 2.406 kB / 0.8261 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.567, allocations: 39.8 kB / 0.8261 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.567, allocations: 22.53 kB / 0.8261 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.5692, allocations: 1.224 MB / 0.8273 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.5732, allocations: 2.533 MB / 0.8298 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.5756, allocations: 0.9377 MB / 0.8307 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.5764, allocations: 332.5 kB / 0.831 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-05/0.5764, allocations: 39.55 kB / 0.8311 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009806/0.5774, allocations: 491.1 kB / 0.8316 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=75): time 3.336e-06/0.5774, allocations: 7.984 kB / 0.8316 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75): time 0.003526/0.581, allocations: 1.235 MB / 0.8328 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.5811, allocations: 192.3 kB / 0.8329 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.5817, allocations: 0.5978 MB / 0.8335 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.5818, allocations: 38.11 kB / 0.8336 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.5821, allocations: 427.1 kB / 0.834 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.5823, allocations: 260.4 kB / 0.8342 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.5825, allocations: 136.1 kB / 0.8344 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5826, allocations: 384 kB / 0.8347 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006874/0.5833, allocations: 270.2 kB / 0.835 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.5841, allocations: 374.9 kB / 0.8353 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.5856, allocations: 0.6269 MB / 0.8359 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5856, allocations: 3.625 kB / 0.836 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002147/0.5877, allocations: 0.8288 MB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5878, allocations: 4.875 kB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5878, allocations: 2.219 kB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/0.5884, allocations: 83.94 kB / 0.8368 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.5891, allocations: 165.7 kB / 0.837 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.5911, allocations: 1.619 MB / 0.8386 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.5918, allocations: 94.62 kB / 0.8387 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.5919, allocations: 29.27 kB / 0.8387 GB, free: 10.11 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.0003348/0.5922, allocations: 262.9 kB / 0.839 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5924, allocations: 85.28 kB / 0.839 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.5951, allocations: 1.104 MB / 0.8401 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5951, allocations: 10.12 kB / 0.8401 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5951, allocations: 3.938 kB / 0.8401 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5952, allocations: 3.984 kB / 0.8401 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.5988, allocations: 2.042 MB / 0.8421 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5989, allocations: 0 / 0.8421 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.5996, allocations: 176.2 kB / 0.8423 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.6001, allocations: 75.5 kB / 0.8424 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.6001, allocations: 22.92 kB / 0.8424 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.602, allocations: 1.651 MB / 0.844 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.602, allocations: 4.062 kB / 0.844 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.6043, allocations: 1.029 MB / 0.845 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.6046, allocations: 264.2 kB / 0.8453 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.6048, allocations: 20 kB / 0.8453 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.6055, allocations: 77.55 kB / 0.8454 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6057, allocations: 64.91 kB / 0.8454 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.6057, allocations: 31.98 kB / 0.8454 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004952/0.6062, allocations: 439 kB / 0.8459 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6062, allocations: 0 / 0.8459 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007452/0.607, allocations: 311.1 kB / 0.8462 GB, free: 4.332 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.003832/0.6108, allocations: 2.066 MB / 0.8482 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.6128, allocations: 0.841 MB / 0.849 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6128, allocations: 0 / 0.849 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.6139, allocations: 0.547 MB / 0.8495 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6151, allocations: 299 kB / 0.8498 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.6266, allocations: 6.367 MB / 0.856 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.6272, allocations: 1.031 MB / 0.857 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000798/0.628, allocations: 266.2 kB / 0.8573 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.6286, allocations: 379.3 kB / 0.8577 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of SimCode: time 5.1e-07/0.6286, allocations: 4 kB / 0.8577 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04408/0.6727, allocations: 20.8 MB / 0.878 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.47, allocations: 9.281 kB / 0.878 GB, free: 4.035 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)