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: "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008162/0.008162, allocations: 101 kB / 15.73 MB, free: 6.055 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.002129/0.002129, allocations: 195.2 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002616/0.002616, allocations: 280.9 kB / 290.8 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 1.033/1.033, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002924/0.002924, allocations: 91.86 kB / 0.6809 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4483, allocations: 86.98 MB / 0.7659 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004613/0.4529, allocations: 3.064 MB / 0.7689 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005266/0.4582, allocations: 3.246 MB / 0.772 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.4585, allocations: 4 kB / 0.772 GB, free: 13.55 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.0003749/0.4589, allocations: 67.3 kB / 0.7721 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.4601, allocations: 437.7 kB / 0.7725 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.461, allocations: 381.2 kB / 0.7729 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.4619, allocations: 0.7026 MB / 0.7736 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.4621, allocations: 110.6 kB / 0.7737 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.4625, allocations: 295 kB / 0.774 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.4631, allocations: 326.8 kB / 0.7743 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.4632, allocations: 60 kB / 0.7743 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009467/0.4642, allocations: 499.5 kB / 0.7748 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.4644, allocations: 167.5 kB / 0.775 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.4647, allocations: 294.5 kB / 0.7752 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.4661, allocations: 0.9801 MB / 0.7762 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4661, allocations: 0 / 0.7762 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4661, allocations: 0 / 0.7762 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.4661, allocations: 4 kB / 0.7762 GB, free: 9.285 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.002246/0.4684, allocations: 0.9322 MB / 0.7771 GB, free: 8.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4685, allocations: 11.97 kB / 0.7771 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.4686, allocations: 86.7 kB / 0.7772 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.472, allocations: 0.5585 MB / 0.7777 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4735, allocations: 0.5547 MB / 0.7783 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.4737, allocations: 203.5 kB / 0.7785 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.4738, allocations: 48 kB / 0.7785 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.4756, allocations: 0.6752 MB / 0.7792 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4756, allocations: 4 kB / 0.7792 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.4757, allocations: 20 kB / 0.7792 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.4757, allocations: 11.98 kB / 0.7792 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.4777, allocations: 0.7727 MB / 0.78 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/0.4816, allocations: 1.72 MB / 0.7817 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/0.485, allocations: 1.02 MB / 0.7827 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009455/0.486, allocations: 366.3 kB / 0.783 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/0.4883, allocations: 1.777 MB / 0.7847 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.4895, allocations: 454.8 kB / 0.7852 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 3.237e-06/0.4895, allocations: 7.938 kB / 0.7852 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.003008/0.4925, allocations: 1.065 MB / 0.7862 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.4926, allocations: 111.3 kB / 0.7863 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.4931, allocations: 365.7 kB / 0.7867 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/0.4932, allocations: 37.7 kB / 0.7867 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.4934, allocations: 221.4 kB / 0.7869 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.4937, allocations: 230 kB / 0.7871 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.494, allocations: 146.6 kB / 0.7873 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.4942, allocations: 350.8 kB / 0.7876 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4952, allocations: 325.7 kB / 0.7879 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.4962, allocations: 441.5 kB / 0.7883 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.4981, allocations: 0.7205 MB / 0.7891 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4981, allocations: 0 / 0.7891 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002308/0.5005, allocations: 0.8638 MB / 0.7899 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5005, allocations: 8 kB / 0.7899 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5005, allocations: 3.984 kB / 0.7899 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.5005, allocations: 8 kB / 0.7899 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.5016, allocations: 187.9 kB / 0.7901 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.5017, allocations: 7.938 kB / 0.7901 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.5025, allocations: 95.5 kB / 0.7902 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.5026, allocations: 39.95 kB / 0.7902 GB, free: 10.14 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.0003677/0.503, allocations: 202.6 kB / 0.7904 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.5031, allocations: 51.67 kB / 0.7905 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.5061, allocations: 1.12 MB / 0.7916 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.5061, allocations: 8 kB / 0.7916 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5062, allocations: 3.938 kB / 0.7916 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.5062, allocations: 11.97 kB / 0.7916 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.5098, allocations: 1.77 MB / 0.7933 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5098, allocations: 4 kB / 0.7933 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.5109, allocations: 187.7 kB / 0.7935 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.5109, allocations: 11.94 kB / 0.7935 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.511, allocations: 19.98 kB / 0.7935 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.511, allocations: 8 kB / 0.7935 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.511, allocations: 0 / 0.7935 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.5133, allocations: 1.006 MB / 0.7945 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.5137, allocations: 228.3 kB / 0.7947 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5138, allocations: 20 kB / 0.7948 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.5146, allocations: 55.94 kB / 0.7948 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5148, allocations: 60.91 kB / 0.7949 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.5149, allocations: 27.98 kB / 0.7949 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003225/0.5152, allocations: 251.2 kB / 0.7951 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5152, allocations: 0 / 0.7951 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008835/0.5161, allocations: 231.5 kB / 0.7954 GB, free: 4.777 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.004289/0.5204, allocations: 1.957 MB / 0.7973 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.5226, allocations: 0.815 MB / 0.7981 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5226, allocations: 0 / 0.7981 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.5237, allocations: 477.7 kB / 0.7985 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.5244, allocations: 69.42 kB / 0.7986 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/0.5343, allocations: 5.125 MB / 0.8036 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.5349, allocations: 0.8816 MB / 0.8044 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007504/0.5357, allocations: 172.6 kB / 0.8046 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.5362, allocations: 219.3 kB / 0.8048 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.5362, allocations: 0 / 0.8048 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/0.5789, allocations: 14.54 MB / 0.819 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.015/9.594, allocations: 7.938 kB / 0.819 GB, free: 12.61 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)