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.001269/0.001269, allocations: 102.4 kB / 16.4 MB, free: 6.461 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.001268/0.001268, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 287.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 103.8 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5202, allocations: 86.96 MB / 0.767 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005878/0.5262, allocations: 4.654 MB / 0.7716 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.6965, allocations: 150.7 MB / 0.9188 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.6976, allocations: 19.88 kB / 0.9188 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.6985, allocations: 178.3 kB / 0.919 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.7007, allocations: 0.5137 MB / 0.9195 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.7033, allocations: 0.9473 MB / 0.9204 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.7054, allocations: 1.488 MB / 0.9219 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.7069, allocations: 0.8093 MB / 0.9226 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.708, allocations: 0.5723 MB / 0.9232 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.7091, allocations: 0.6301 MB / 0.9238 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004722/0.7096, allocations: 144 kB / 0.924 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.7109, allocations: 0.5191 MB / 0.9245 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005182/0.7115, allocations: 358.8 kB / 0.9248 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.7125, allocations: 0.649 MB / 0.9254 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.7149, allocations: 1.872 MB / 0.9273 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.715, allocations: 0 / 0.9273 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.333e-06/0.715, allocations: 0 / 0.9273 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.715, allocations: 0 / 0.9273 GB, free: 15.08 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.003174/0.7182, allocations: 1.661 MB / 0.9289 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7182, allocations: 8.031 kB / 0.9289 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/0.7235, allocations: 0.7561 MB / 0.9296 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.7251, allocations: 0.8358 MB / 0.9305 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.7252, allocations: 78.2 kB / 0.9305 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.7254, allocations: 108 kB / 0.9306 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.7287, allocations: 1.432 MB / 0.932 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.7287, allocations: 0 / 0.932 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.7289, allocations: 48 kB / 0.9321 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.7289, allocations: 24 kB / 0.9321 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004394/0.7333, allocations: 1.893 MB / 0.9339 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006394/0.7397, allocations: 3.229 MB / 0.9371 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/0.7431, allocations: 1.382 MB / 0.9384 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.7446, allocations: 0.5956 MB / 0.939 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/0.7453, allocations: 482.5 kB / 0.9395 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/0.7472, allocations: 0.8088 MB / 0.9403 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=109): time 2.725e-06/0.7472, allocations: 0 / 0.9403 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109): time 0.006089/0.7533, allocations: 1.957 MB / 0.9422 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.7534, allocations: 196.9 kB / 0.9424 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009223/0.7544, allocations: 0.6604 MB / 0.943 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.7545, allocations: 41.7 kB / 0.9431 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.7549, allocations: 444.5 kB / 0.9435 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/0.7552, allocations: 362.8 kB / 0.9438 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/0.7556, allocations: 206.5 kB / 0.944 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.7558, allocations: 394.7 kB / 0.9444 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.7574, allocations: 0.5016 MB / 0.9449 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.7591, allocations: 0.6091 MB / 0.9455 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.7623, allocations: 1.078 MB / 0.9465 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.7623, allocations: 0 / 0.9465 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004377/0.7667, allocations: 1.368 MB / 0.9479 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.7667, allocations: 6.5 kB / 0.9479 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.7667, allocations: 8.062 kB / 0.9479 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006897/0.7674, allocations: 84.89 kB / 0.948 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.7689, allocations: 267.6 kB / 0.9482 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.7714, allocations: 1.633 MB / 0.9498 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.7729, allocations: 163.1 kB / 0.95 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.773, allocations: 51.95 kB / 0.95 GB, free: 7.086 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.0007048/0.7737, allocations: 287.4 kB / 0.9503 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.7741, allocations: 94.81 kB / 0.9504 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/0.7789, allocations: 1.68 MB / 0.952 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.7789, allocations: 12 kB / 0.952 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7789, allocations: 4 kB / 0.952 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.779, allocations: 3.984 kB / 0.9521 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00682/0.7858, allocations: 2.847 MB / 0.9548 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.7858, allocations: 4 kB / 0.9548 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.7872, allocations: 255.6 kB / 0.9551 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/0.7877, allocations: 72.8 kB / 0.9552 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.7878, allocations: 35.97 kB / 0.9552 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4571/1.245, allocations: 1.654 MB / 0.9568 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.245, allocations: 7.156 kB / 0.9568 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/1.25, allocations: 1.531 MB / 0.9583 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005637/1.251, allocations: 315.7 kB / 0.9586 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.251, allocations: 27.84 kB / 0.9586 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.252, allocations: 119.7 kB / 0.9587 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.252, allocations: 86.36 kB / 0.9588 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.252, allocations: 45.72 kB / 0.9589 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007245/1.253, allocations: 472.4 kB / 0.9593 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.253, allocations: 0 / 0.9593 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001115/1.254, allocations: 392.9 kB / 0.9597 GB, free: 187.1 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.001331/1.256, allocations: 0.6271 MB / 0.9603 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.259, allocations: 1.388 MB / 0.9617 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.259, allocations: 3.406 kB / 0.9617 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.261, allocations: 0.8231 MB / 0.9625 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/1.263, allocations: 312.2 kB / 0.9628 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/1.268, allocations: 2.239 MB / 0.965 GB, free: 185 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/1.269, allocations: 1.078 MB / 0.966 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/1.269, allocations: 147 kB / 0.9661 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/1.269, allocations: 1.688 kB / 0.9661 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02496/1.294, allocations: 22.64 MB / 0.9883 GB, free: 165.5 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)