Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.768/0.768, allocations: 143.4 MB / 159.2 MB, free: 4.848 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.001223/0.001223, allocations: 192.5 kB / 191.9 MB, free: 5.699 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.371/1.371, allocations: 222.9 MB / 447.3 MB, free: 5.852 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.001046/0.001046, allocations: 103.1 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 283 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 79.86 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003459/0.3068, allocations: 3.076 MB / 0.7709 GB, free: 24.57 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.3101, allocations: 3.261 MB / 0.7741 GB, free: 21.3 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3102, allocations: 8 kB / 0.7741 GB, free: 21.29 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.3105, allocations: 47.64 kB / 0.7742 GB, free: 21.24 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006454/0.3111, allocations: 362.4 kB / 0.7745 GB, free: 20.89 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.3117, allocations: 339.4 kB / 0.7748 GB, free: 20.56 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.3121, allocations: 0.644 MB / 0.7755 GB, free: 19.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.3122, allocations: 118.6 kB / 0.7756 GB, free: 19.79 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.3125, allocations: 243.1 kB / 0.7758 GB, free: 19.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.3128, allocations: 306.8 kB / 0.7761 GB, free: 19.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.3129, allocations: 32 kB / 0.7761 GB, free: 19.22 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.3135, allocations: 471.5 kB / 0.7766 GB, free: 18.76 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3136, allocations: 135.5 kB / 0.7767 GB, free: 18.63 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.3138, allocations: 254.5 kB / 0.7769 GB, free: 18.38 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.3145, allocations: 0.931 MB / 0.7778 GB, free: 17.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3145, allocations: 0 / 0.7778 GB, free: 17.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3145, allocations: 0 / 0.7778 GB, free: 17.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.3145, allocations: 0 / 0.7778 GB, free: 17.45 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001584/0.3161, allocations: 0.9102 MB / 0.7787 GB, free: 16.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3162, allocations: 8.031 kB / 0.7787 GB, free: 16.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/0.319, allocations: 0.5544 MB / 0.7793 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3201, allocations: 0.5583 MB / 0.7798 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.3203, allocations: 195.8 kB / 0.78 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.3203, allocations: 51.86 kB / 0.7801 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.3215, allocations: 0.6674 MB / 0.7807 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3215, allocations: 3.938 kB / 0.7807 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.767e-05/0.3216, allocations: 20 kB / 0.7807 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3216, allocations: 16 kB / 0.7808 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.3232, allocations: 0.765 MB / 0.7815 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.326, allocations: 1.711 MB / 0.7832 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.3288, allocations: 1.008 MB / 0.7842 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.3295, allocations: 370.3 kB / 0.7845 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.3308, allocations: 1.773 MB / 0.7862 GB, free: 8.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008669/0.3317, allocations: 460.4 kB / 0.7867 GB, free: 7.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/0.3317, allocations: 0 / 0.7867 GB, free: 7.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002463/0.3342, allocations: 1.072 MB / 0.7877 GB, free: 6.691 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3342, allocations: 111.4 kB / 0.7878 GB, free: 6.559 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.3345, allocations: 357.8 kB / 0.7882 GB, free: 6.207 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.3346, allocations: 37.7 kB / 0.7882 GB, free: 6.164 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.3347, allocations: 220.9 kB / 0.7884 GB, free: 5.941 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3348, allocations: 212.8 kB / 0.7886 GB, free: 5.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.335, allocations: 146.5 kB / 0.7888 GB, free: 5.578 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.3351, allocations: 362.7 kB / 0.7891 GB, free: 5.215 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/0.3358, allocations: 317.8 kB / 0.7894 GB, free: 4.906 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.3366, allocations: 441.6 kB / 0.7898 GB, free: 4.434 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.3381, allocations: 0.7243 MB / 0.7905 GB, free: 3.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3381, allocations: 0 / 0.7905 GB, free: 3.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001775/0.3399, allocations: 0.8558 MB / 0.7914 GB, free: 2.816 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3399, allocations: 11.94 kB / 0.7914 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3399, allocations: 0 / 0.7914 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.34, allocations: 8 kB / 0.7914 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/0.3409, allocations: 191.8 kB / 0.7916 GB, free: 2.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3409, allocations: 4 kB / 0.7916 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.3415, allocations: 101.8 kB / 0.7917 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.3416, allocations: 35.95 kB / 0.7917 GB, free: 2.473 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002021/0.3418, allocations: 199.4 kB / 0.7919 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.339e-05/0.3419, allocations: 51.34 kB / 0.792 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.3444, allocations: 1.131 MB / 0.7931 GB, free: 1.078 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3444, allocations: 8 kB / 0.7931 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3444, allocations: 0 / 0.7931 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3444, allocations: 11.92 kB / 0.7931 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.3472, allocations: 1.765 MB / 0.7948 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3472, allocations: 0 / 0.7948 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/0.3481, allocations: 195.7 kB / 0.795 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3482, allocations: 4 kB / 0.795 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.3482, allocations: 27.92 kB / 0.795 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3482, allocations: 4 kB / 0.795 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3482, allocations: 0 / 0.795 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.3515, allocations: 2.076 MB / 0.7971 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.3518, allocations: 220.1 kB / 0.7973 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.3519, allocations: 16 kB / 0.7973 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.3525, allocations: 59.94 kB / 0.7973 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3527, allocations: 56.91 kB / 0.7974 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.3527, allocations: 31.98 kB / 0.7974 GB, free: 12.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.353, allocations: 251.2 kB / 0.7977 GB, free: 12.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.353, allocations: 3.938 kB / 0.7977 GB, free: 12.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007442/0.3537, allocations: 231.8 kB / 0.7979 GB, free: 12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.3548, allocations: 0.5099 MB / 0.7984 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3567, allocations: 0.815 MB / 0.7992 GB, free: 10.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3567, allocations: 0 / 0.7992 GB, free: 10.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009689/0.3577, allocations: 477.7 kB / 0.7996 GB, free: 10.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3582, allocations: 70.45 kB / 0.7997 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3607, allocations: 1.785 MB / 0.8014 GB, free: 8.465 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3611, allocations: 0.8976 MB / 0.8023 GB, free: 7.539 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008055/0.3619, allocations: 172.6 kB / 0.8025 GB, free: 7.371 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.3622, allocations: 87.36 kB / 0.8026 GB, free: 7.285 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3622, allocations: 0 / 0.8026 GB, free: 7.285 MB / 474.7 MB Notification: Performance of Templates: time 0.01607/0.3783, allocations: 9.407 MB / 0.8118 GB, free: 13.92 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)