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.001371/0.001371, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001386/0.001386, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002865/0.002865, allocations: 286.2 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 178.6 MB / 0.507 GB, free: 4.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 98.11 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1991, allocations: 89.16 MB / 0.693 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008469/0.2076, allocations: 5.386 MB / 0.6982 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6136/0.8213, allocations: 148.6 MB / 0.8434 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.8226, allocations: 17.47 kB / 0.8434 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007294/0.8233, allocations: 165.6 kB / 0.8435 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.8256, allocations: 0.5056 MB / 0.844 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.828, allocations: 0.8487 MB / 0.8449 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.8304, allocations: 1.616 MB / 0.8464 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.8316, allocations: 0.7405 MB / 0.8472 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.8327, allocations: 0.5919 MB / 0.8477 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.8335, allocations: 0.6435 MB / 0.8484 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.8337, allocations: 144 kB / 0.8485 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.8348, allocations: 0.5077 MB / 0.849 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.8352, allocations: 356.2 kB / 0.8493 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.8359, allocations: 0.6732 MB / 0.85 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.8386, allocations: 1.863 MB / 0.8518 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8386, allocations: 3.938 kB / 0.8518 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.418e-06/0.8386, allocations: 0 / 0.8518 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.576e-05/0.8387, allocations: 3.938 kB / 0.8518 GB, free: 3.348 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003677/0.8424, allocations: 1.675 MB / 0.8535 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.8424, allocations: 11.25 kB / 0.8535 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005583/0.848, allocations: 0.7574 MB / 0.8542 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.8497, allocations: 0.807 MB / 0.855 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.8498, allocations: 83.8 kB / 0.8551 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.85, allocations: 106.3 kB / 0.8552 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.8534, allocations: 1.429 MB / 0.8566 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.8535, allocations: 1.625 kB / 0.8566 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.8536, allocations: 49.03 kB / 0.8566 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.8537, allocations: 25.06 kB / 0.8566 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/0.8582, allocations: 1.889 MB / 0.8585 GB, free: 15.17 MB / 0.5919 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.007028/0.8653, allocations: 3.551 MB / 0.862 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/0.8687, allocations: 1.372 MB / 0.8633 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.8702, allocations: 0.6066 MB / 0.8639 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.871, allocations: 474.4 kB / 0.8643 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002097/0.8731, allocations: 0.8138 MB / 0.8651 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=109): time 2.705e-06/0.8731, allocations: 0 / 0.8651 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=109): time 0.006569/0.8797, allocations: 1.971 MB / 0.8671 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.8799, allocations: 196.9 kB / 0.8672 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.881, allocations: 0.6605 MB / 0.8679 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.8811, allocations: 45.7 kB / 0.8679 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.8816, allocations: 432.5 kB / 0.8683 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.882, allocations: 354.8 kB / 0.8687 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004179/0.8824, allocations: 206.5 kB / 0.8689 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002797/0.8827, allocations: 394.7 kB / 0.8693 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.8842, allocations: 0.5073 MB / 0.8698 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.8859, allocations: 0.6136 MB / 0.8704 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/0.8889, allocations: 1.078 MB / 0.8714 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.8889, allocations: 3.938 kB / 0.8714 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004194/0.8931, allocations: 1.376 MB / 0.8728 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8932, allocations: 8 kB / 0.8728 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.8932, allocations: 1.406 kB / 0.8728 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.8938, allocations: 88.45 kB / 0.8728 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.8953, allocations: 275.5 kB / 0.8731 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.8977, allocations: 1.632 MB / 0.8747 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.8993, allocations: 171.1 kB / 0.8749 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.8994, allocations: 43.97 kB / 0.8749 GB, free: 0.8164 MB / 0.5919 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.0006695/0.9001, allocations: 300.8 kB / 0.8752 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.9004, allocations: 98.81 kB / 0.8753 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.9053, allocations: 1.671 MB / 0.8769 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.9053, allocations: 12 kB / 0.8769 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9053, allocations: 0 / 0.8769 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.9053, allocations: 11.95 kB / 0.8769 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.9116, allocations: 2.798 MB / 0.8797 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.9116, allocations: 7.875 kB / 0.8797 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.9129, allocations: 255.6 kB / 0.8799 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.9134, allocations: 76.78 kB / 0.88 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/0.9135, allocations: 35.97 kB / 0.88 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.9157, allocations: 1.658 MB / 0.8817 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9157, allocations: 0 / 0.8817 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/0.9199, allocations: 1.535 MB / 0.8832 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.9205, allocations: 319.5 kB / 0.8835 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.9206, allocations: 24 kB / 0.8835 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.9219, allocations: 125.4 kB / 0.8836 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.9221, allocations: 88.88 kB / 0.8837 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.9222, allocations: 43.97 kB / 0.8837 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000721/0.9229, allocations: 467 kB / 0.8842 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9229, allocations: 3.938 kB / 0.8842 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001165/0.9241, allocations: 407 kB / 0.8846 GB, free: 6.66 MB / 0.6075 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.002019/0.9261, allocations: 0.625 MB / 0.8852 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004997/0.9312, allocations: 1.667 MB / 0.8868 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9312, allocations: 0 / 0.8868 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.9332, allocations: 0.828 MB / 0.8876 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.9348, allocations: 310.8 kB / 0.8879 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.9397, allocations: 2.616 MB / 0.8905 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.9406, allocations: 1.084 MB / 0.8915 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001623/0.9422, allocations: 339.7 kB / 0.8918 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.9427, allocations: 127.4 kB / 0.892 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of SimCode: time 1.302e-06/0.9427, allocations: 0 / 0.892 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.03952/0.9822, allocations: 18.2 MB / 0.9097 GB, free: 13.25 MB / 0.6387 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)