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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001853/0.001853, allocations: 195.1 kB / 16.14 MB, free: 6.637 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002769/0.002769, allocations: 283.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002714, allocations: 94 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1726, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00774/0.1804, allocations: 5.166 MB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5547/0.7351, allocations: 148.4 MB / 0.8427 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.7364, allocations: 16.62 kB / 0.8427 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00073/0.7372, allocations: 169.2 kB / 0.8429 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.7396, allocations: 478.9 kB / 0.8433 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.7419, allocations: 0.7524 MB / 0.8441 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001999/0.7439, allocations: 1.355 MB / 0.8454 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.7451, allocations: 0.6453 MB / 0.846 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009462/0.746, allocations: 460.9 kB / 0.8465 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.7467, allocations: 0.5204 MB / 0.847 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.7469, allocations: 65.69 kB / 0.847 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008984/0.7478, allocations: 408.1 kB / 0.8474 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.7481, allocations: 256.3 kB / 0.8477 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.7487, allocations: 0.5518 MB / 0.8482 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.7506, allocations: 1.655 MB / 0.8498 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7506, allocations: 0 / 0.8498 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7506, allocations: 0 / 0.8498 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.7507, allocations: 0 / 0.8498 GB, free: 4.512 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003002/0.7537, allocations: 1.509 MB / 0.8513 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7537, allocations: 9.469 kB / 0.8513 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.7555, allocations: 313.9 kB / 0.8516 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.7567, allocations: 0.765 MB / 0.8524 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.7568, allocations: 69.31 kB / 0.8524 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.7569, allocations: 94.25 kB / 0.8525 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.759, allocations: 1.077 MB / 0.8536 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.759, allocations: 2.594 kB / 0.8536 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.7591, allocations: 39.56 kB / 0.8536 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.7592, allocations: 24.91 kB / 0.8536 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.7615, allocations: 1.273 MB / 0.8549 GB, free: 1.207 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.7669, allocations: 2.989 MB / 0.8578 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.7695, allocations: 1.031 MB / 0.8588 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.7703, allocations: 360.5 kB / 0.8591 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-05/0.7704, allocations: 35.34 kB / 0.8592 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.7717, allocations: 0.5577 MB / 0.8597 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 3.277e-06/0.7717, allocations: 0 / 0.8597 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.004077/0.7758, allocations: 1.386 MB / 0.8611 GB, free: 13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7759, allocations: 191 kB / 0.8613 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.7769, allocations: 0.6363 MB / 0.8619 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.777, allocations: 47.06 kB / 0.8619 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.7774, allocations: 424.8 kB / 0.8623 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.7776, allocations: 275.3 kB / 0.8626 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.7779, allocations: 172.8 kB / 0.8628 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.7782, allocations: 384.2 kB / 0.8631 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/0.779, allocations: 330.8 kB / 0.8634 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/0.7798, allocations: 421.6 kB / 0.8638 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.7814, allocations: 0.71 MB / 0.8645 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.7815, allocations: 0 / 0.8645 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002481/0.7839, allocations: 0.9674 MB / 0.8655 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.784, allocations: 8.797 kB / 0.8655 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.784, allocations: 6.656 kB / 0.8655 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.7846, allocations: 75.81 kB / 0.8656 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.7854, allocations: 189.8 kB / 0.8657 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.7877, allocations: 1.529 MB / 0.8672 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.7887, allocations: 125.2 kB / 0.8674 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.7888, allocations: 38.31 kB / 0.8674 GB, free: 8.363 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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.0005278/0.7893, allocations: 281.3 kB / 0.8677 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.7895, allocations: 83.5 kB / 0.8677 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/0.7925, allocations: 1.203 MB / 0.8689 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.7926, allocations: 15.92 kB / 0.8689 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7926, allocations: 4 kB / 0.8689 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.7926, allocations: 7.969 kB / 0.8689 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004309/0.7969, allocations: 2.136 MB / 0.871 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.7969, allocations: 0 / 0.871 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.7977, allocations: 167.8 kB / 0.8712 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.7983, allocations: 84.77 kB / 0.8713 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/0.7984, allocations: 23.98 kB / 0.8713 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.8005, allocations: 1.553 MB / 0.8728 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8005, allocations: 3.938 kB / 0.8728 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.8032, allocations: 1.113 MB / 0.8739 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.8037, allocations: 279.6 kB / 0.8742 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.8039, allocations: 24 kB / 0.8742 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.8047, allocations: 91.97 kB / 0.8743 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.8049, allocations: 76.89 kB / 0.8744 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/0.805, allocations: 31.98 kB / 0.8744 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007706/0.8058, allocations: 471 kB / 0.8748 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.685e-06/0.8058, allocations: 0 / 0.8748 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001293/0.8071, allocations: 355 kB / 0.8752 GB, free: 0.5391 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002299/0.8094, allocations: 0.5963 MB / 0.8758 GB, free: 120 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00272/0.8121, allocations: 0.953 MB / 0.8767 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.8122, allocations: 4 kB / 0.8767 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.8135, allocations: 0.5744 MB / 0.8772 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.815, allocations: 287.1 kB / 0.8775 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.8194, allocations: 2.247 MB / 0.8797 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009289/0.8203, allocations: 1.052 MB / 0.8807 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001182/0.8215, allocations: 270.9 kB / 0.881 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.8219, allocations: 111.4 kB / 0.8811 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.8219, allocations: 4 kB / 0.8811 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.03127/0.8532, allocations: 15.24 MB / 0.896 GB, free: 11.51 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)