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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.713/0.713, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 94.69 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.698e-05, allocations: 2.5 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1594, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.866/5.026, allocations: 1.694 GB / 2.335 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/5.026, allocations: 95.89 kB / 2.335 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1453/5.171, allocations: 65.47 MB / 2.399 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/5.171, allocations: 0 / 2.399 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001347/5.172, allocations: 23.94 kB / 2.399 GB, free: 174.4 MB / 0.6823 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.002949/5.174, allocations: 1.13 MB / 2.4 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.728e-05/5.175, allocations: 12.03 kB / 2.4 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003496/5.175, allocations: 151.7 kB / 2.4 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/5.177, allocations: 298.4 kB / 2.401 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/5.178, allocations: 0.6269 MB / 2.401 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/5.179, allocations: 70 kB / 2.401 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/5.179, allocations: 88 kB / 2.401 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/5.181, allocations: 0.9333 MB / 2.402 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/5.181, allocations: 0 / 2.402 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/5.181, allocations: 36 kB / 2.402 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/5.181, allocations: 27.95 kB / 2.402 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/5.183, allocations: 1.105 MB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004944/5.188, allocations: 2.599 MB / 2.406 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/5.189, allocations: 0.8621 MB / 2.407 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/5.19, allocations: 279.2 kB / 2.407 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/5.19, allocations: 32.8 kB / 2.407 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006753/5.191, allocations: 433.3 kB / 2.407 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 3.146e-06/5.191, allocations: 3.938 kB / 2.407 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.001744/5.192, allocations: 0.7188 MB / 2.408 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/5.193, allocations: 244 kB / 2.408 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/5.193, allocations: 0.5894 MB / 2.409 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.201e-05/5.194, allocations: 41.7 kB / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/5.194, allocations: 400.2 kB / 2.409 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/5.194, allocations: 244.4 kB / 2.41 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/5.194, allocations: 16 kB / 2.41 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001153/5.194, allocations: 382.7 kB / 2.41 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/5.195, allocations: 213.5 kB / 2.41 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/5.195, allocations: 325.1 kB / 2.41 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/5.195, allocations: 254 kB / 2.411 GB, free: 162 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/5.195, allocations: 0 / 2.411 GB, free: 162 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001483/5.197, allocations: 0.7227 MB / 2.411 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/5.197, allocations: 11.94 kB / 2.411 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/5.197, allocations: 3.984 kB / 2.411 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/5.197, allocations: 80.84 kB / 2.412 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/5.198, allocations: 163.8 kB / 2.412 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/5.2, allocations: 1.528 MB / 2.413 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008152/5.201, allocations: 95.45 kB / 2.413 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/5.201, allocations: 23.98 kB / 2.413 GB, free: 159.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002188/5.201, allocations: 150 kB / 2.413 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/5.201, allocations: 83 kB / 2.414 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/5.203, allocations: 1.001 MB / 2.414 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/5.203, allocations: 12 kB / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/5.204, allocations: 0 / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/5.204, allocations: 3.984 kB / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/5.207, allocations: 1.954 MB / 2.416 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/5.207, allocations: 0 / 2.416 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/5.207, allocations: 171.7 kB / 2.417 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/5.208, allocations: 88.7 kB / 2.417 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/5.208, allocations: 23.98 kB / 2.417 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/5.209, allocations: 1.544 MB / 2.418 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/5.21, allocations: 0 / 2.418 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/5.211, allocations: 0.904 MB / 2.419 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/5.212, allocations: 295.6 kB / 2.419 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/5.212, allocations: 16.06 kB / 2.419 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/5.212, allocations: 95.92 kB / 2.419 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/5.213, allocations: 64.69 kB / 2.42 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/5.213, allocations: 27.98 kB / 2.42 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006227/5.213, allocations: 491.1 kB / 2.42 GB, free: 152 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.213, allocations: 0 / 2.42 GB, free: 152 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001476/5.215, allocations: 371.1 kB / 2.42 GB, free: 151.7 MB / 0.6823 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003855/5.219, allocations: 2.374 MB / 2.423 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001262/5.22, allocations: 0.7215 MB / 2.423 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.22, allocations: 0 / 2.423 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/5.221, allocations: 494.9 kB / 2.424 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/5.222, allocations: 238.6 kB / 2.424 GB, free: 148 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/5.226, allocations: 1.622 MB / 2.426 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/5.226, allocations: 1.041 MB / 2.427 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009586/5.227, allocations: 274.2 kB / 2.427 GB, free: 145 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/5.228, allocations: 387.3 kB / 2.427 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/5.228, allocations: 0 / 2.427 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0633/5.291, allocations: 31.63 MB / 2.458 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/5.292, allocations: 245.2 kB / 2.458 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/8.861, allocations: 0 / 2.458 GB, free: 112.8 MB / 0.6823 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/linux/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)