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.001348/0.001348, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001381/0.001382, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 290.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.3 MB / 0.499 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 87.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4769, allocations: 86.99 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004418/0.4814, allocations: 3.056 MB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004682/0.4861, allocations: 3.25 MB / 0.7732 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.4864, allocations: 8 kB / 0.7732 GB, free: 13.54 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.0004012/0.4868, allocations: 63.31 kB / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.4881, allocations: 429.7 kB / 0.7737 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.489, allocations: 385.3 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008279/0.4898, allocations: 0.6987 MB / 0.7747 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.4901, allocations: 118.6 kB / 0.7748 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.4906, allocations: 291.1 kB / 0.7751 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.4911, allocations: 326.8 kB / 0.7754 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.4912, allocations: 64 kB / 0.7755 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008375/0.492, allocations: 499.5 kB / 0.7759 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.4922, allocations: 167.5 kB / 0.7761 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.4924, allocations: 294.5 kB / 0.7764 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.4934, allocations: 0.9773 MB / 0.7773 GB, free: 9.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4935, allocations: 0 / 0.7773 GB, free: 9.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4935, allocations: 0 / 0.7773 GB, free: 9.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.4935, allocations: 0 / 0.7773 GB, free: 9.281 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.001904/0.4954, allocations: 0.9063 MB / 0.7782 GB, free: 8.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4954, allocations: 12.03 kB / 0.7782 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.4987, allocations: 0.5504 MB / 0.7788 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.5, allocations: 0.5622 MB / 0.7793 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.5001, allocations: 199.8 kB / 0.7795 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.493e-05/0.5002, allocations: 43.94 kB / 0.7796 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.5017, allocations: 0.6792 MB / 0.7802 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5017, allocations: 0 / 0.7802 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.5018, allocations: 19.94 kB / 0.7802 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5018, allocations: 16 kB / 0.7803 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.5036, allocations: 0.7689 MB / 0.781 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.5068, allocations: 1.724 MB / 0.7827 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.5098, allocations: 1.03 MB / 0.7837 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.5106, allocations: 368.9 kB / 0.784 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.5123, allocations: 1.773 MB / 0.7858 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.5133, allocations: 458.8 kB / 0.7862 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 3.446e-06/0.5133, allocations: 0 / 0.7862 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002744/0.5161, allocations: 1.064 MB / 0.7873 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.5161, allocations: 111.4 kB / 0.7874 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.5165, allocations: 361.5 kB / 0.7877 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.5166, allocations: 41.7 kB / 0.7877 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.5167, allocations: 217.1 kB / 0.7879 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.5169, allocations: 224.7 kB / 0.7882 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.5172, allocations: 142.5 kB / 0.7883 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5173, allocations: 358.8 kB / 0.7886 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000794/0.5181, allocations: 317.8 kB / 0.7889 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.519, allocations: 441.5 kB / 0.7894 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.5207, allocations: 0.7205 MB / 0.7901 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5207, allocations: 4 kB / 0.7901 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002021/0.5227, allocations: 0.8596 MB / 0.7909 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5227, allocations: 10.5 kB / 0.7909 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5228, allocations: 4 kB / 0.7909 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.5228, allocations: 4 kB / 0.7909 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/0.5238, allocations: 183.7 kB / 0.7911 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.5238, allocations: 8 kB / 0.7911 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.5245, allocations: 99.44 kB / 0.7912 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.5246, allocations: 39.95 kB / 0.7912 GB, free: 10.28 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.0002983/0.5249, allocations: 196.6 kB / 0.7914 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.525, allocations: 47.44 kB / 0.7915 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.528, allocations: 1.12 MB / 0.7926 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.528, allocations: 7.969 kB / 0.7926 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.528, allocations: 4 kB / 0.7926 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.5283, allocations: 224 kB / 0.7928 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.5284, allocations: 19.98 kB / 0.7928 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.529, allocations: 51.94 kB / 0.7929 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5292, allocations: 56.92 kB / 0.7929 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002435/0.5316, allocations: 1.032 MB / 0.7939 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002075/0.5337, allocations: 1.092 MB / 0.795 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008762/0.5346, allocations: 439.7 kB / 0.7954 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002593/0.5349, allocations: 259 kB / 0.7957 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of Backend: time 2.51e-07/0.5349, allocations: 0 / 0.7957 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002888/0.5378, allocations: 1.052 MB / 0.7967 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001368/0.5391, allocations: 1.271 MB / 0.7979 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of Templates: time 0.01913/0.5583, allocations: 12.1 MB / 0.8097 GB, free: 7.469 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)