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.005228/0.005228, allocations: 101.6 kB / 15.73 MB, free: 6.484 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.001263/0.001263, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 282.8 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9159/0.9159, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 95.84 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1355, allocations: 86.98 MB / 0.7663 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003979/0.1395, allocations: 3.058 MB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004309/0.1438, allocations: 3.255 MB / 0.7725 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.144, allocations: 0 / 0.7725 GB, free: 2.125 MB / 0.5606 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.0002956/0.1443, allocations: 59.39 kB / 0.7726 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.1453, allocations: 437.7 kB / 0.773 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.146, allocations: 377.1 kB / 0.7733 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.1466, allocations: 0.7142 MB / 0.774 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1468, allocations: 124.3 kB / 0.7741 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.1471, allocations: 283.2 kB / 0.7744 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.277/0.4242, allocations: 319.3 kB / 0.7747 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.4244, allocations: 61.28 kB / 0.7748 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.4254, allocations: 499 kB / 0.7753 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.4256, allocations: 170 kB / 0.7754 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.4259, allocations: 294.1 kB / 0.7757 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.427, allocations: 0.9718 MB / 0.7766 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.427, allocations: 4.25 kB / 0.7767 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.427, allocations: 0 / 0.7767 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.427, allocations: 0.875 kB / 0.7767 GB, free: 9.035 MB / 0.5606 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.00178/0.4288, allocations: 0.9044 MB / 0.7775 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.4288, allocations: 10.42 kB / 0.7775 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.432, allocations: 0.5556 MB / 0.7781 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.4332, allocations: 0.5638 MB / 0.7786 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.4333, allocations: 203.3 kB / 0.7788 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.4335, allocations: 41.16 kB / 0.7789 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.4348, allocations: 0.6848 MB / 0.7795 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4348, allocations: 4.969 kB / 0.7795 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.4349, allocations: 16.16 kB / 0.7796 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4349, allocations: 11.03 kB / 0.7796 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.4366, allocations: 0.7714 MB / 0.7803 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.4397, allocations: 1.711 MB / 0.782 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.4427, allocations: 1.029 MB / 0.783 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.4435, allocations: 363.9 kB / 0.7833 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.4449, allocations: 1.77 MB / 0.7851 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009812/0.4459, allocations: 461.3 kB / 0.7855 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 1.944e-06/0.4459, allocations: 0 / 0.7855 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002549/0.4485, allocations: 1.065 MB / 0.7866 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4485, allocations: 119.3 kB / 0.7867 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.4489, allocations: 364.7 kB / 0.787 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.4489, allocations: 37.14 kB / 0.7871 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.449, allocations: 217 kB / 0.7873 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.4492, allocations: 215.6 kB / 0.7875 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.4494, allocations: 145.1 kB / 0.7876 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002431/0.4497, allocations: 359.3 kB / 0.7879 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007679/0.4505, allocations: 319.8 kB / 0.7883 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.4513, allocations: 439.9 kB / 0.7887 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.4528, allocations: 0.7213 MB / 0.7894 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4529, allocations: 1.672 kB / 0.7894 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001915/0.4548, allocations: 0.8676 MB / 0.7902 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4548, allocations: 7.219 kB / 0.7902 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4548, allocations: 2.875 kB / 0.7902 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4548, allocations: 6.609 kB / 0.7902 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/0.4558, allocations: 190.3 kB / 0.7904 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4558, allocations: 9.438 kB / 0.7904 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.4565, allocations: 97.8 kB / 0.7905 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.4566, allocations: 34.36 kB / 0.7906 GB, free: 18.43 MB / 0.5762 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.0002438/0.4569, allocations: 198.6 kB / 0.7907 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.457, allocations: 50.72 kB / 0.7908 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.4595, allocations: 1.126 MB / 0.7919 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4595, allocations: 8.375 kB / 0.7919 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4595, allocations: 2.781 kB / 0.7919 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4596, allocations: 10.27 kB / 0.7919 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.4624, allocations: 1.756 MB / 0.7936 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4624, allocations: 0 / 0.7936 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.4634, allocations: 196.3 kB / 0.7938 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4634, allocations: 3.781 kB / 0.7938 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.4635, allocations: 29.09 kB / 0.7939 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4635, allocations: 3.391 kB / 0.7939 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4635, allocations: 10.22 kB / 0.7939 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.4655, allocations: 0.9988 MB / 0.7948 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.4658, allocations: 222.2 kB / 0.7951 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.4659, allocations: 21.55 kB / 0.7951 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.4666, allocations: 57.3 kB / 0.7951 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4667, allocations: 59.62 kB / 0.7952 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.4668, allocations: 28.95 kB / 0.7952 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002623/0.467, allocations: 255 kB / 0.7955 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.467, allocations: 0 / 0.7955 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007184/0.4678, allocations: 220.3 kB / 0.7957 GB, free: 16.12 MB / 0.5762 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.0011/0.4689, allocations: 0.521 MB / 0.7962 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002019/0.4709, allocations: 0.8104 MB / 0.797 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4709, allocations: 3.375 kB / 0.797 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.472, allocations: 475.6 kB / 0.7974 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.4725, allocations: 67.88 kB / 0.7975 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.4746, allocations: 1.147 MB / 0.7986 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.4751, allocations: 0.8702 MB / 0.7995 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006993/0.4758, allocations: 171.4 kB / 0.7996 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.4761, allocations: 88.02 kB / 0.7997 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.4761, allocations: 0 / 0.7997 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.01577/0.4919, allocations: 9.746 MB / 0.8092 GB, free: 11.49 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)