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.004397/0.004397, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001043/0.001043, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002078, allocations: 278.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9393/0.9393, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 107.8 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1342, allocations: 86.97 MB / 0.7663 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003803/0.1381, allocations: 3.052 MB / 0.7693 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.1421, allocations: 3.255 MB / 0.7725 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1422, allocations: 0 / 0.7725 GB, free: 2.129 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.0002573/0.1425, allocations: 65.62 kB / 0.7726 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008267/0.1433, allocations: 441.7 kB / 0.773 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.144, allocations: 381.3 kB / 0.7733 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006067/0.1447, allocations: 0.7025 MB / 0.774 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1449, allocations: 126.6 kB / 0.7742 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.1452, allocations: 283.1 kB / 0.7744 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2864/0.4316, allocations: 321.6 kB / 0.7747 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.4318, allocations: 61.69 kB / 0.7748 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.4329, allocations: 496 kB / 0.7753 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.4331, allocations: 170.8 kB / 0.7754 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.4334, allocations: 291.8 kB / 0.7757 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4345, allocations: 0.9751 MB / 0.7767 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4345, allocations: 2.656 kB / 0.7767 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4345, allocations: 0.5312 kB / 0.7767 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4345, allocations: 0 / 0.7767 GB, free: 9.055 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.001834/0.4364, allocations: 0.9086 MB / 0.7775 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4364, allocations: 10.42 kB / 0.7776 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.4396, allocations: 0.5539 MB / 0.7781 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.4408, allocations: 0.5617 MB / 0.7786 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4409, allocations: 202.3 kB / 0.7788 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.441, allocations: 42.59 kB / 0.7789 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.4424, allocations: 0.6871 MB / 0.7795 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4424, allocations: 0 / 0.7795 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.4425, allocations: 15.94 kB / 0.7796 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.4425, allocations: 14.28 kB / 0.7796 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.4443, allocations: 0.7754 MB / 0.7803 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.4473, allocations: 1.707 MB / 0.782 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.4504, allocations: 1.022 MB / 0.783 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.4512, allocations: 370.7 kB / 0.7834 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.4526, allocations: 1.774 MB / 0.7851 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009856/0.4536, allocations: 463.4 kB / 0.7855 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/0.4536, allocations: 0 / 0.7855 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002594/0.4562, allocations: 1.061 MB / 0.7866 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.4562, allocations: 110.8 kB / 0.7867 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.4566, allocations: 369.1 kB / 0.787 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.4566, allocations: 37.41 kB / 0.7871 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4568, allocations: 221.1 kB / 0.7873 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.4569, allocations: 212.9 kB / 0.7875 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.4571, allocations: 145.2 kB / 0.7876 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002332/0.4574, allocations: 359.4 kB / 0.788 GB, free: 19.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.4581, allocations: 320.8 kB / 0.7883 GB, free: 19.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/0.459, allocations: 437.4 kB / 0.7887 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4605, allocations: 0.7253 MB / 0.7894 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4606, allocations: 2.812 kB / 0.7894 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001936/0.4625, allocations: 0.8567 MB / 0.7902 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4625, allocations: 5.594 kB / 0.7902 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4625, allocations: 2.844 kB / 0.7902 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4626, allocations: 11.28 kB / 0.7902 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.4635, allocations: 191.7 kB / 0.7904 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4636, allocations: 8.422 kB / 0.7904 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.4643, allocations: 98.31 kB / 0.7905 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/0.4643, allocations: 40.27 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.0002499/0.4646, allocations: 195.7 kB / 0.7908 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4647, allocations: 53.12 kB / 0.7908 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.4672, allocations: 1.117 MB / 0.7919 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4672, allocations: 10.09 kB / 0.7919 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4673, allocations: 0 / 0.7919 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.4673, allocations: 8.578 kB / 0.7919 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.4701, allocations: 1.763 MB / 0.7936 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.4701, allocations: 6.906 kB / 0.7936 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009304/0.4711, allocations: 193.5 kB / 0.7938 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4711, allocations: 7.469 kB / 0.7938 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.4712, allocations: 22.41 kB / 0.7939 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4712, allocations: 3.906 kB / 0.7939 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4712, allocations: 0.6562 kB / 0.7939 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.4732, allocations: 1.007 MB / 0.7948 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.4734, allocations: 219.6 kB / 0.795 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4736, allocations: 25.22 kB / 0.7951 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.4742, allocations: 58.44 kB / 0.7951 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.4744, allocations: 59.42 kB / 0.7952 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.4744, allocations: 33.53 kB / 0.7952 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002566/0.4747, allocations: 250.9 kB / 0.7955 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4747, allocations: 0 / 0.7955 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007595/0.4755, allocations: 224.1 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.001142/0.4766, allocations: 0.5119 MB / 0.7962 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.4786, allocations: 0.8092 MB / 0.797 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4786, allocations: 0.5312 kB / 0.797 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4797, allocations: 476.2 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.000502/0.4802, allocations: 74.67 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.002123/0.4824, allocations: 1.138 MB / 0.7986 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.4828, allocations: 0.8722 MB / 0.7994 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006674/0.4835, allocations: 174.3 kB / 0.7996 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.4838, allocations: 92.27 kB / 0.7997 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4838, allocations: 0 / 0.7997 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.01585/0.4997, allocations: 9.584 MB / 0.8091 GB, free: 11.6 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)