Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001469, allocations: 102.2 kB / 16.4 MB, free: 6.008 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.001259/0.001259, allocations: 188.6 kB / 17.34 MB, free: 5.629 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002524, allocations: 289.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9938/0.9938, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 91.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5987, allocations: 86.97 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007288/0.606, allocations: 4.654 MB / 0.7716 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.188/0.794, allocations: 150.8 MB / 0.9188 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.7953, allocations: 15.94 kB / 0.9188 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.7964, allocations: 182.2 kB / 0.919 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.7997, allocations: 0.5078 MB / 0.9195 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.8034, allocations: 0.9396 MB / 0.9204 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.8067, allocations: 1.5 MB / 0.9219 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.8084, allocations: 0.7937 MB / 0.9226 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.8097, allocations: 0.58 MB / 0.9232 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.811, allocations: 0.6224 MB / 0.9238 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005365/0.8116, allocations: 144 kB / 0.924 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.8132, allocations: 0.5269 MB / 0.9245 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.8135, allocations: 366.8 kB / 0.9248 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.8142, allocations: 0.6412 MB / 0.9254 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.8166, allocations: 1.868 MB / 0.9273 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8166, allocations: 4 kB / 0.9273 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8166, allocations: 0 / 0.9273 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.8166, allocations: 0 / 0.9273 GB, free: 15.23 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003186/0.8198, allocations: 1.661 MB / 0.9289 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8199, allocations: 12.03 kB / 0.9289 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.8248, allocations: 0.7522 MB / 0.9296 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.8261, allocations: 0.8319 MB / 0.9305 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/0.8262, allocations: 82.2 kB / 0.9305 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.8264, allocations: 108 kB / 0.9306 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/0.8298, allocations: 1.44 MB / 0.932 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.8298, allocations: 0 / 0.932 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.8299, allocations: 44 kB / 0.9321 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.83, allocations: 24 kB / 0.9321 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004629/0.8346, allocations: 1.893 MB / 0.934 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006308/0.8409, allocations: 3.229 MB / 0.9371 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/0.8443, allocations: 1.368 MB / 0.9384 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.8459, allocations: 0.6034 MB / 0.939 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006984/0.8466, allocations: 478.6 kB / 0.9395 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.8485, allocations: 0.8118 MB / 0.9403 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=109): time 3.055e-06/0.8485, allocations: 8 kB / 0.9403 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109): time 0.006099/0.8547, allocations: 1.961 MB / 0.9422 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.8548, allocations: 196.9 kB / 0.9424 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.8558, allocations: 0.6527 MB / 0.943 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.8559, allocations: 45.7 kB / 0.9431 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.8563, allocations: 448.5 kB / 0.9435 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.8567, allocations: 346.9 kB / 0.9438 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/0.8571, allocations: 206.5 kB / 0.944 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.8573, allocations: 398.7 kB / 0.9444 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.8587, allocations: 0.5016 MB / 0.9449 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.8604, allocations: 0.6052 MB / 0.9455 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.8634, allocations: 1.078 MB / 0.9465 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8634, allocations: 0 / 0.9465 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004165/0.8676, allocations: 1.372 MB / 0.9479 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.8676, allocations: 6.812 kB / 0.9479 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8677, allocations: 4 kB / 0.9479 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/0.8682, allocations: 88.83 kB / 0.948 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.8696, allocations: 267.6 kB / 0.9482 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.8719, allocations: 1.637 MB / 0.9498 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.8733, allocations: 159.1 kB / 0.95 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.8734, allocations: 47.95 kB / 0.95 GB, free: 7.242 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.00072/0.8741, allocations: 291.4 kB / 0.9503 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.8744, allocations: 98.8 kB / 0.9504 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/0.879, allocations: 1.668 MB / 0.952 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.879, allocations: 12 kB / 0.952 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.879, allocations: 8 kB / 0.952 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.879, allocations: 3.984 kB / 0.9521 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/0.8852, allocations: 2.847 MB / 0.9548 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8852, allocations: 0 / 0.9548 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.8865, allocations: 255.6 kB / 0.9551 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004104/0.8869, allocations: 76.78 kB / 0.9551 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.8871, allocations: 35.97 kB / 0.9552 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.8892, allocations: 1.67 MB / 0.9568 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8892, allocations: 3.938 kB / 0.9568 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5594/1.449, allocations: 1.522 MB / 0.9583 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007006/1.449, allocations: 318.4 kB / 0.9586 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.45, allocations: 25.17 kB / 0.9586 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.451, allocations: 121.3 kB / 0.9587 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/1.451, allocations: 88.92 kB / 0.9588 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.451, allocations: 46.34 kB / 0.9589 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008973/1.452, allocations: 473.6 kB / 0.9593 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.452, allocations: 0.5312 kB / 0.9593 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001415/1.454, allocations: 387.5 kB / 0.9597 GB, free: 187.6 MB / 0.7169 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 (122): * Single equations (assignments): 116 * 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.001534/1.455, allocations: 0.6228 MB / 0.9603 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004055/1.459, allocations: 1.391 MB / 0.9617 GB, free: 187 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.459, allocations: 1.062 kB / 0.9617 GB, free: 187 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.461, allocations: 0.8213 MB / 0.9625 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.463, allocations: 307.3 kB / 0.9628 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/1.468, allocations: 2.24 MB / 0.9649 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/1.469, allocations: 1.085 MB / 0.966 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007209/1.47, allocations: 146.7 kB / 0.9661 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.693e-06/1.47, allocations: 0 / 0.9661 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.02903/1.499, allocations: 22.8 MB / 0.9884 GB, free: 165.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)