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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001638/0.001638, allocations: 183 kB / 17.34 MB, free: 5.762 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 295 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 99.83 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4137, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004213/0.4179, allocations: 3.064 MB / 0.77 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004572/0.4225, allocations: 3.251 MB / 0.7732 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.4227, allocations: 0 / 0.7732 GB, free: 13.56 MB / 0.545 GB [/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.0003755/0.4231, allocations: 71.31 kB / 0.7732 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.4241, allocations: 429.7 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.425, allocations: 384 kB / 0.774 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.4257, allocations: 0.7026 MB / 0.7747 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.426, allocations: 118.6 kB / 0.7748 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.4263, allocations: 287.1 kB / 0.7751 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.4268, allocations: 322.8 kB / 0.7754 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.427, allocations: 60 kB / 0.7755 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008472/0.4278, allocations: 0.4995 MB / 0.7759 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.428, allocations: 163.5 kB / 0.7761 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.4283, allocations: 286.5 kB / 0.7764 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.4295, allocations: 0.9725 MB / 0.7773 GB, free: 9.309 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4296, allocations: 3.938 kB / 0.7773 GB, free: 9.305 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4296, allocations: 0 / 0.7773 GB, free: 9.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4296, allocations: 0 / 0.7773 GB, free: 9.305 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002119/0.4317, allocations: 0.9102 MB / 0.7782 GB, free: 8.344 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4318, allocations: 12.03 kB / 0.7782 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.4352, allocations: 0.5544 MB / 0.7788 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.4364, allocations: 0.5583 MB / 0.7793 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.4366, allocations: 199.8 kB / 0.7795 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.4367, allocations: 43.94 kB / 0.7795 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.4382, allocations: 0.6792 MB / 0.7802 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4382, allocations: 0 / 0.7802 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.4383, allocations: 23.98 kB / 0.7802 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4383, allocations: 8 kB / 0.7802 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.4402, allocations: 0.7805 MB / 0.781 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.4435, allocations: 1.724 MB / 0.7827 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.4467, allocations: 1.026 MB / 0.7837 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008562/0.4475, allocations: 366.3 kB / 0.784 GB, free: 2.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/0.4494, allocations: 1.769 MB / 0.7858 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.4505, allocations: 458.8 kB / 0.7862 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 5.119e-06/0.4505, allocations: 0 / 0.7862 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002867/0.4534, allocations: 1.068 MB / 0.7872 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.4535, allocations: 107.4 kB / 0.7873 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.4539, allocations: 365.5 kB / 0.7877 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.454, allocations: 37.7 kB / 0.7877 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.4542, allocations: 225.1 kB / 0.7879 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.4544, allocations: 212.8 kB / 0.7881 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.4546, allocations: 142.5 kB / 0.7883 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4548, allocations: 358.8 kB / 0.7886 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00086/0.4557, allocations: 321.8 kB / 0.7889 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.4566, allocations: 437.5 kB / 0.7893 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4584, allocations: 0.7205 MB / 0.7901 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4584, allocations: 0 / 0.7901 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00218/0.4606, allocations: 0.8637 MB / 0.7909 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4606, allocations: 6.812 kB / 0.7909 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4607, allocations: 7.984 kB / 0.7909 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4607, allocations: 8 kB / 0.7909 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4617, allocations: 183.7 kB / 0.7911 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.4617, allocations: 7.938 kB / 0.7911 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.4625, allocations: 99.38 kB / 0.7912 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/0.4626, allocations: 35.95 kB / 0.7912 GB, free: 10.3 MB / 0.5606 GB 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.0003226/0.463, allocations: 205.9 kB / 0.7914 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.4631, allocations: 51.42 kB / 0.7915 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.466, allocations: 1.116 MB / 0.7926 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.466, allocations: 12 kB / 0.7926 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.466, allocations: 3.938 kB / 0.7926 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4661, allocations: 7.969 kB / 0.7926 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.4695, allocations: 1.774 MB / 0.7943 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4695, allocations: 0 / 0.7943 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4705, allocations: 199.7 kB / 0.7945 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.4705, allocations: 3.938 kB / 0.7945 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.868e-05/0.4706, allocations: 23.98 kB / 0.7945 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.4706, allocations: 7.938 kB / 0.7945 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4706, allocations: 0 / 0.7945 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.4729, allocations: 1.005 MB / 0.7955 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.4732, allocations: 220.1 kB / 0.7957 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.4733, allocations: 19.94 kB / 0.7958 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.474, allocations: 55.94 kB / 0.7958 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.4741, allocations: 56.92 kB / 0.7959 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.4742, allocations: 35.97 kB / 0.7959 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002776/0.4745, allocations: 251.2 kB / 0.7961 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4745, allocations: 0 / 0.7961 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007503/0.4752, allocations: 227.8 kB / 0.7964 GB, free: 4.941 MB / 0.5606 GB 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.001232/0.4765, allocations: 0.5017 MB / 0.7968 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.4785, allocations: 0.8189 MB / 0.7976 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4785, allocations: 0 / 0.7976 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4795, allocations: 469.7 kB / 0.7981 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.48, allocations: 66.98 kB / 0.7982 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.4823, allocations: 1.17 MB / 0.7993 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4827, allocations: 0.8778 MB / 0.8002 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.4831, allocations: 99.36 kB / 0.8002 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.4831, allocations: 0 / 0.8002 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of Templates: time 0.01498/0.4981, allocations: 10.24 MB / 0.8102 GB, free: 6.805 MB / 0.5762 GB 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)