Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7222/0.7222, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 188.9 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 441.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008446/0.0008446, allocations: 95.44 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 273.7 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.999e-05/5.014e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.361, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.501/3.862, allocations: 1.692 GB / 2.456 GB, free: 87 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/3.862, allocations: 88.48 kB / 2.456 GB, free: 86.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1338/3.996, allocations: 65.46 MB / 2.52 GB, free: 21.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/3.996, allocations: 0 / 2.52 GB, free: 21.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001066/3.996, allocations: 28 kB / 2.52 GB, free: 21.22 MB / 0.698 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.002342/3.998, allocations: 1.134 MB / 2.521 GB, free: 20.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/3.998, allocations: 16.02 kB / 2.521 GB, free: 20.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/3.999, allocations: 143.7 kB / 2.521 GB, free: 19.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/4, allocations: 302.3 kB / 2.522 GB, free: 19.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/4.002, allocations: 0.6308 MB / 2.522 GB, free: 18.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/4.002, allocations: 66 kB / 2.522 GB, free: 18.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/4.002, allocations: 87.98 kB / 2.523 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/4.003, allocations: 0.9333 MB / 2.523 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/4.003, allocations: 3.938 kB / 2.523 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/4.003, allocations: 36 kB / 2.523 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/4.003, allocations: 24 kB / 2.523 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/4.005, allocations: 1.108 MB / 2.525 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/4.009, allocations: 2.596 MB / 2.527 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/4.01, allocations: 0.8543 MB / 2.528 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/4.011, allocations: 279.3 kB / 2.528 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.062e-05/4.011, allocations: 32.8 kB / 2.528 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/4.011, allocations: 445.2 kB / 2.529 GB, free: 12.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=75): time 4.488e-06/4.011, allocations: 3.938 kB / 2.529 GB, free: 12.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.001543/4.013, allocations: 0.7226 MB / 2.529 GB, free: 11.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/4.013, allocations: 240.1 kB / 2.53 GB, free: 11.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/4.014, allocations: 0.5933 MB / 2.53 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/4.014, allocations: 37.7 kB / 2.53 GB, free: 10.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/4.014, allocations: 400.2 kB / 2.531 GB, free: 10.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/4.014, allocations: 252.4 kB / 2.531 GB, free: 9.969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/4.014, allocations: 8 kB / 2.531 GB, free: 9.961 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.355e-05/4.014, allocations: 386.8 kB / 2.531 GB, free: 9.574 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/4.015, allocations: 213.5 kB / 2.531 GB, free: 9.367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/4.015, allocations: 325.1 kB / 2.532 GB, free: 9.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/4.015, allocations: 254 kB / 2.532 GB, free: 8.773 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/4.015, allocations: 3.953 kB / 2.532 GB, free: 8.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001373/4.017, allocations: 0.7227 MB / 2.533 GB, free: 8.035 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/4.017, allocations: 5.406 kB / 2.533 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/4.017, allocations: 0 / 2.533 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/4.017, allocations: 84.84 kB / 2.533 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/4.018, allocations: 163.8 kB / 2.533 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/4.02, allocations: 1.509 MB / 2.534 GB, free: 6.137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/4.02, allocations: 95.48 kB / 2.534 GB, free: 6.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/4.021, allocations: 39.92 kB / 2.535 GB, free: 6.004 MB / 0.698 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.000163/4.021, allocations: 144.9 kB / 2.535 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/4.021, allocations: 75.06 kB / 2.535 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/4.023, allocations: 1.009 MB / 2.536 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/4.023, allocations: 11.95 kB / 2.536 GB, free: 4.742 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/4.023, allocations: 7.938 kB / 2.536 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/4.023, allocations: 3.984 kB / 2.536 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/4.025, allocations: 1.951 MB / 2.538 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/4.025, allocations: 0 / 2.538 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/4.026, allocations: 175.8 kB / 2.538 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/4.027, allocations: 84.77 kB / 2.538 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/4.027, allocations: 23.92 kB / 2.538 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/4.028, allocations: 1.54 MB / 2.539 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/4.028, allocations: 3.984 kB / 2.539 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4501/4.478, allocations: 0.9001 MB / 2.54 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/4.479, allocations: 291 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/4.479, allocations: 19.78 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/4.48, allocations: 85.95 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/4.48, allocations: 62.61 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/4.48, allocations: 30.12 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007756/4.481, allocations: 487.8 kB / 2.541 GB, free: 230.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/4.481, allocations: 0 / 2.541 GB, free: 230.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001333/4.482, allocations: 372.2 kB / 2.542 GB, free: 230.3 MB / 0.698 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.003988/4.486, allocations: 2.385 MB / 2.544 GB, free: 229.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001431/4.488, allocations: 0.7121 MB / 2.545 GB, free: 229.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/4.488, allocations: 1.125 kB / 2.545 GB, free: 229.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008791/4.489, allocations: 492.1 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/4.49, allocations: 240.8 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/4.494, allocations: 1.626 MB / 2.547 GB, free: 229 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/4.495, allocations: 1.048 MB / 2.548 GB, free: 228.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009805/4.496, allocations: 270.8 kB / 2.548 GB, free: 228.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/4.497, allocations: 385 kB / 2.549 GB, free: 228.3 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/4.497, allocations: 0 / 2.549 GB, free: 228.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0503/4.547, allocations: 31.7 MB / 2.58 GB, free: 226.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/4.547, allocations: 266.8 kB / 2.58 GB, free: 226.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/7.625, allocations: 0 / 2.58 GB, free: 226.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)