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.005332/0.005332, allocations: 99.34 kB / 15.73 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.001436/0.001436, allocations: 195.2 kB / 16.67 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7746/0.7746, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 63.91 kB / 0.5808 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3353, allocations: 80.22 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004654/0.34, allocations: 4.182 MB / 0.6633 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.5019, allocations: 150.5 MB / 0.8102 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006863/0.5026, allocations: 15.94 kB / 0.8103 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.5031, allocations: 166.5 kB / 0.8104 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.5046, allocations: 485.5 kB / 0.8109 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.5064, allocations: 0.8032 MB / 0.8117 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.5076, allocations: 1.211 MB / 0.8129 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009013/0.5085, allocations: 0.7071 MB / 0.8135 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.5092, allocations: 458.4 kB / 0.814 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.5098, allocations: 0.4938 MB / 0.8145 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.51, allocations: 112 kB / 0.8146 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.511, allocations: 483.6 kB / 0.815 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.5113, allocations: 299 kB / 0.8153 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.5118, allocations: 0.5323 MB / 0.8158 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.5138, allocations: 1.591 MB / 0.8174 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5138, allocations: 0 / 0.8174 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5138, allocations: 0 / 0.8174 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.5139, allocations: 4 kB / 0.8174 GB, free: 3.605 MB / 0.6387 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.002331/0.5162, allocations: 1.429 MB / 0.8188 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5162, allocations: 12.03 kB / 0.8188 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.5164, allocations: 147.9 kB / 0.8189 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.5181, allocations: 299.9 kB / 0.8192 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5192, allocations: 0.7621 MB / 0.82 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.5193, allocations: 66 kB / 0.82 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5194, allocations: 88 kB / 0.8201 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.5212, allocations: 1.003 MB / 0.8211 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.5212, allocations: 0 / 0.8211 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.5213, allocations: 47.98 kB / 0.8211 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.5214, allocations: 20 kB / 0.8212 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.5236, allocations: 1.218 MB / 0.8224 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.5276, allocations: 2.557 MB / 0.8248 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.53, allocations: 0.9266 MB / 0.8258 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007438/0.5308, allocations: 330.7 kB / 0.8261 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-05/0.5309, allocations: 32.67 kB / 0.8261 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.5319, allocations: 495.1 kB / 0.8266 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=75): time 2.355e-06/0.5319, allocations: 4 kB / 0.8266 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75): time 0.003632/0.5356, allocations: 1.234 MB / 0.8278 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5357, allocations: 192.6 kB / 0.828 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007242/0.5364, allocations: 0.6018 MB / 0.8286 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.5365, allocations: 41.7 kB / 0.8286 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.5368, allocations: 412.9 kB / 0.829 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.537, allocations: 261.8 kB / 0.8292 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.5373, allocations: 138.2 kB / 0.8294 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.5374, allocations: 382.8 kB / 0.8297 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.5381, allocations: 265.1 kB / 0.83 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.539, allocations: 374.8 kB / 0.8303 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.5404, allocations: 0.6369 MB / 0.831 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5405, allocations: 0 / 0.831 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002189/0.5427, allocations: 0.8216 MB / 0.8318 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5427, allocations: 8 kB / 0.8318 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5427, allocations: 3.938 kB / 0.8318 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.5433, allocations: 84.86 kB / 0.8319 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.544, allocations: 163.8 kB / 0.832 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.5462, allocations: 1.627 MB / 0.8336 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.5468, allocations: 103.5 kB / 0.8337 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.5469, allocations: 23.98 kB / 0.8337 GB, free: 2.32 MB / 0.6544 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.0003946/0.5473, allocations: 270.5 kB / 0.834 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.5475, allocations: 79.48 kB / 0.8341 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.5503, allocations: 1.096 MB / 0.8351 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5503, allocations: 11.94 kB / 0.8351 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5503, allocations: 7.938 kB / 0.8352 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5503, allocations: 3.984 kB / 0.8352 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.5541, allocations: 2.04 MB / 0.8371 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5541, allocations: 0 / 0.8371 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.5548, allocations: 171.8 kB / 0.8373 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.5552, allocations: 72.78 kB / 0.8374 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.5553, allocations: 23.98 kB / 0.8374 GB, free: 14.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.5573, allocations: 1.658 MB / 0.839 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5573, allocations: 4.062 kB / 0.839 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.5596, allocations: 1.026 MB / 0.84 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.5599, allocations: 264.2 kB / 0.8403 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5601, allocations: 23.94 kB / 0.8403 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.5607, allocations: 77.39 kB / 0.8404 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5609, allocations: 64.91 kB / 0.8404 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.561, allocations: 27.98 kB / 0.8405 GB, free: 11.16 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005251/0.5615, allocations: 439 kB / 0.8409 GB, free: 10.74 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5615, allocations: 0 / 0.8409 GB, free: 10.74 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007518/0.5623, allocations: 311.1 kB / 0.8412 GB, free: 10.43 MB / 0.67 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.004299/0.5666, allocations: 2.072 MB / 0.8432 GB, free: 8.543 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.5686, allocations: 0.8449 MB / 0.844 GB, free: 7.684 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5686, allocations: 0 / 0.844 GB, free: 7.684 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.5697, allocations: 0.5392 MB / 0.8446 GB, free: 7.137 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5709, allocations: 289.1 kB / 0.8448 GB, free: 6.879 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.5825, allocations: 6.378 MB / 0.8511 GB, free: 400 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.5832, allocations: 1.027 MB / 0.8521 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007857/0.584, allocations: 266.3 kB / 0.8523 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.5846, allocations: 379.3 kB / 0.8527 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.5846, allocations: 4 kB / 0.8527 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8484/1.433, allocations: 20.8 MB / 0.873 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.62, allocations: 8.859 kB / 0.873 GB, free: 194.2 MB / 0.6856 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)