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/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: 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/BuildingSystems 2.0.0-master/package.mo): time 0.7489/0.7489, allocations: 143.4 MB / 159.2 MB, free: 4.844 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 187.5 kB / 191.9 MB, free: 5.688 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.366/1.366, allocations: 222.9 MB / 447.3 MB, free: 5.848 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.001121/0.001121, allocations: 103.7 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001945/0.001945, allocations: 282.7 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 80.31 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3882, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005069/0.3934, allocations: 4.405 MB / 0.7722 GB, free: 23.23 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.533/0.9264, allocations: 148.3 MB / 0.9171 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008035/0.9273, allocations: 17.62 kB / 0.9171 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.9278, allocations: 139 kB / 0.9173 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.9291, allocations: 406.6 kB / 0.9176 GB, free: 15.9 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.931, allocations: 0.7825 MB / 0.9184 GB, free: 15.89 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.9324, allocations: 1.289 MB / 0.9197 GB, free: 15.88 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008634/0.9333, allocations: 0.7656 MB / 0.9204 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.9339, allocations: 470.3 kB / 0.9209 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.9344, allocations: 0.5419 MB / 0.9214 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.9346, allocations: 69.72 kB / 0.9215 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009738/0.9356, allocations: 432.1 kB / 0.9219 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.9358, allocations: 275.9 kB / 0.9221 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.9364, allocations: 0.5416 MB / 0.9227 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.9379, allocations: 1.647 MB / 0.9243 GB, free: 15.58 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9379, allocations: 0 / 0.9243 GB, free: 15.58 MB / 0.573 GB Notification: Performance of FrontEnd: time 6.92e-07/0.9379, allocations: 0 / 0.9243 GB, free: 15.58 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.9379, allocations: 0 / 0.9243 GB, free: 15.58 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002564/0.9405, allocations: 1.553 MB / 0.9258 GB, free: 14.79 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9405, allocations: 18.25 kB / 0.9258 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/0.9455, allocations: 0.7457 MB / 0.9265 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.9465, allocations: 0.7728 MB / 0.9273 GB, free: 14.39 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.9466, allocations: 79.92 kB / 0.9274 GB, free: 14.39 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.9468, allocations: 97.84 kB / 0.9275 GB, free: 14.39 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.9497, allocations: 1.37 MB / 0.9288 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.9497, allocations: 4.188 kB / 0.9288 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.9498, allocations: 41.41 kB / 0.9288 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.9498, allocations: 24.81 kB / 0.9289 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.9542, allocations: 1.841 MB / 0.9307 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005813/0.96, allocations: 3.132 MB / 0.9337 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.9631, allocations: 1.275 MB / 0.935 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.9645, allocations: 0.5681 MB / 0.9355 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006044/0.9651, allocations: 476.9 kB / 0.936 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.9668, allocations: 0.734 MB / 0.9367 GB, free: 12.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=100): time 2.184e-06/0.9668, allocations: 1.203 kB / 0.9367 GB, free: 12.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=100): time 0.005501/0.9723, allocations: 1.846 MB / 0.9385 GB, free: 12.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.9724, allocations: 191.7 kB / 0.9387 GB, free: 12.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.9731, allocations: 0.6143 MB / 0.9393 GB, free: 12.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.9731, allocations: 42.42 kB / 0.9393 GB, free: 12.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.9734, allocations: 417.2 kB / 0.9397 GB, free: 11.82 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.9737, allocations: 337.7 kB / 0.94 GB, free: 11.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.974, allocations: 189.3 kB / 0.9402 GB, free: 11.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9741, allocations: 387.4 kB / 0.9406 GB, free: 11.27 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.9755, allocations: 480.1 kB / 0.941 GB, free: 11.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.9769, allocations: 0.5786 MB / 0.9416 GB, free: 11.19 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.9795, allocations: 1.023 MB / 0.9426 GB, free: 11.12 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9795, allocations: 0 / 0.9426 GB, free: 11.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003585/0.9831, allocations: 1.294 MB / 0.9439 GB, free: 10.99 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9831, allocations: 4.75 kB / 0.9439 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.9832, allocations: 7.25 kB / 0.9439 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/0.9837, allocations: 83.03 kB / 0.944 GB, free: 10.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.985, allocations: 251.5 kB / 0.9442 GB, free: 10.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.9868, allocations: 1.52 MB / 0.9457 GB, free: 9.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.988, allocations: 146.6 kB / 0.9458 GB, free: 9.637 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.9881, allocations: 49.25 kB / 0.9459 GB, free: 9.637 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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.0004371/0.9886, allocations: 280.9 kB / 0.9461 GB, free: 9.516 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.9887, allocations: 87.44 kB / 0.9462 GB, free: 9.469 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/0.9929, allocations: 1.577 MB / 0.9478 GB, free: 9.316 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.993, allocations: 10.88 kB / 0.9478 GB, free: 9.316 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.993, allocations: 0 / 0.9478 GB, free: 9.316 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.993, allocations: 4.734 kB / 0.9478 GB, free: 9.316 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/0.9985, allocations: 2.737 MB / 0.9505 GB, free: 8.363 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9986, allocations: 1.094 kB / 0.9505 GB, free: 8.363 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.9998, allocations: 251.7 kB / 0.9507 GB, free: 8.309 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/1, allocations: 80.31 kB / 0.9508 GB, free: 8.277 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/1, allocations: 31.84 kB / 0.9508 GB, free: 8.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/1.002, allocations: 1.542 MB / 0.9523 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.002, allocations: 6.031 kB / 0.9523 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005442/1.008, allocations: 2.751 MB / 0.955 GB, free: 5.777 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/1.008, allocations: 307.2 kB / 0.9553 GB, free: 5.566 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.008, allocations: 18.5 kB / 0.9553 GB, free: 5.566 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.009, allocations: 107.3 kB / 0.9554 GB, free: 5.531 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.009, allocations: 77.16 kB / 0.9555 GB, free: 5.504 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.221e-05/1.01, allocations: 40.48 kB / 0.9555 GB, free: 5.496 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004519/1.01, allocations: 444.8 kB / 0.9559 GB, free: 5.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.01, allocations: 4 kB / 0.9559 GB, free: 5.336 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00108/1.011, allocations: 370.5 kB / 0.9563 GB, free: 5.27 MB / 0.573 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001282/1.012, allocations: 0.6094 MB / 0.9569 GB, free: 5.039 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003442/1.016, allocations: 1.306 MB / 0.9582 GB, free: 4.703 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.016, allocations: 6.281 kB / 0.9582 GB, free: 4.699 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/1.018, allocations: 0.7693 MB / 0.9589 GB, free: 4.484 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.019, allocations: 281.8 kB / 0.9592 GB, free: 4.406 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/1.024, allocations: 3.121 MB / 0.9622 GB, free: 2.613 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/1.024, allocations: 1.083 MB / 0.9633 GB, free: 1.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001276/1.026, allocations: 332.5 kB / 0.9636 GB, free: 1.562 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/1.026, allocations: 123.4 kB / 0.9637 GB, free: 1.523 MB / 0.573 GB Notification: Performance of SimCode: time 2.2e-07/1.026, allocations: 0 / 0.9637 GB, free: 1.523 MB / 0.573 GB Notification: Performance of Templates: time 0.02499/1.051, allocations: 16.99 MB / 0.9803 GB, free: 4.523 MB / 0.5886 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)