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.004784/0.004784, allocations: 99.19 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.001307/0.001307, allocations: 198.1 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.288/1.288, 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.002139/0.002139, allocations: 274.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.947/0.947, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 87.86 kB / 0.6809 GB, free: 56 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1435, allocations: 86.98 MB / 0.7659 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004091/0.1476, allocations: 3.053 MB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.1521, allocations: 3.24 MB / 0.772 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.1524, allocations: 7.938 kB / 0.772 GB, free: 2.66 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.0003447/0.1528, allocations: 71.36 kB / 0.7721 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.154, allocations: 437.7 kB / 0.7725 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.1549, allocations: 376.8 kB / 0.7729 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007285/0.1556, allocations: 0.7181 MB / 0.7736 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1558, allocations: 110.6 kB / 0.7737 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.1562, allocations: 291.2 kB / 0.7739 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.1567, allocations: 322.8 kB / 0.7742 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.432e-05/0.1568, allocations: 68 kB / 0.7743 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3135/0.4703, allocations: 491.6 kB / 0.7748 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.4706, allocations: 168.7 kB / 0.7749 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.471, allocations: 288.4 kB / 0.7752 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.4725, allocations: 0.9735 MB / 0.7762 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4725, allocations: 0.9375 kB / 0.7762 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4725, allocations: 0 / 0.7762 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.4725, allocations: 3.938 kB / 0.7762 GB, free: 8.797 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.001965/0.4745, allocations: 0.9118 MB / 0.7771 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4745, allocations: 9.891 kB / 0.7771 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.4746, allocations: 85.86 kB / 0.7772 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/0.4779, allocations: 0.559 MB / 0.7777 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.4792, allocations: 0.5592 MB / 0.7782 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.4794, allocations: 201 kB / 0.7784 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.4795, allocations: 45.72 kB / 0.7785 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.481, allocations: 0.6783 MB / 0.7791 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.481, allocations: 0 / 0.7791 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.4811, allocations: 22.44 kB / 0.7792 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.4811, allocations: 17.41 kB / 0.7792 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.4829, allocations: 0.773 MB / 0.7799 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.4861, allocations: 1.707 MB / 0.7816 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.4891, allocations: 1.022 MB / 0.7826 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/0.49, allocations: 364.9 kB / 0.783 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/0.4916, allocations: 1.773 MB / 0.7847 GB, free: 21.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.4926, allocations: 459.1 kB / 0.7851 GB, free: 20.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.695e-06/0.4926, allocations: 0 / 0.7851 GB, free: 20.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.002637/0.4953, allocations: 1.067 MB / 0.7862 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.4954, allocations: 110.6 kB / 0.7863 GB, free: 20.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.4958, allocations: 369.2 kB / 0.7866 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.4958, allocations: 37.42 kB / 0.7867 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.496, allocations: 221.6 kB / 0.7869 GB, free: 19.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.4961, allocations: 214.9 kB / 0.7871 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.4964, allocations: 145.1 kB / 0.7872 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4965, allocations: 357.8 kB / 0.7876 GB, free: 19.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.4972, allocations: 315.5 kB / 0.7879 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007893/0.498, allocations: 442.2 kB / 0.7883 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.4995, allocations: 0.7258 MB / 0.789 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4995, allocations: 1.156 kB / 0.789 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001883/0.5014, allocations: 0.8609 MB / 0.7898 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5014, allocations: 11.75 kB / 0.7898 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5014, allocations: 7.062 kB / 0.7898 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5015, allocations: 4.531 kB / 0.7898 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.5025, allocations: 184.7 kB / 0.79 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.5025, allocations: 13.56 kB / 0.79 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/0.5032, allocations: 94.33 kB / 0.7901 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.5033, allocations: 41.27 kB / 0.7902 GB, free: 18.33 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.0003037/0.5036, allocations: 200.1 kB / 0.7904 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5038, allocations: 51.44 kB / 0.7904 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.5063, allocations: 1.122 MB / 0.7915 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.5063, allocations: 9.891 kB / 0.7915 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5063, allocations: 0 / 0.7915 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.5064, allocations: 8.484 kB / 0.7915 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.5093, allocations: 1.759 MB / 0.7932 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5093, allocations: 4 kB / 0.7932 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/0.5103, allocations: 192.8 kB / 0.7934 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.5103, allocations: 5.484 kB / 0.7934 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.5104, allocations: 27.77 kB / 0.7935 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/0.5104, allocations: 8.406 kB / 0.7935 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5104, allocations: 0.7969 kB / 0.7935 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.5125, allocations: 1.001 MB / 0.7944 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.5129, allocations: 220 kB / 0.7947 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.513, allocations: 24.12 kB / 0.7947 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/0.5138, allocations: 60.03 kB / 0.7947 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.5139, allocations: 54.95 kB / 0.7948 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.743e-05/0.514, allocations: 32.75 kB / 0.7948 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004359/0.5145, allocations: 250.5 kB / 0.7951 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.11e-07/0.5145, allocations: 3.562 kB / 0.7951 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009888/0.5155, allocations: 225.4 kB / 0.7953 GB, free: 16.02 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.003664/0.5192, allocations: 1.953 MB / 0.7972 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.5214, allocations: 0.8173 MB / 0.798 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5214, allocations: 0.625 kB / 0.798 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5225, allocations: 470.7 kB / 0.7984 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.5231, allocations: 77.5 kB / 0.7985 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.5326, allocations: 5.118 MB / 0.8035 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.5331, allocations: 0.8717 MB / 0.8044 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007668/0.5339, allocations: 170.2 kB / 0.8045 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.5344, allocations: 225.5 kB / 0.8047 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/0.5344, allocations: 0 / 0.8047 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.5743, allocations: 14.76 MB / 0.8191 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.78, allocations: 8.219 kB / 0.8192 GB, free: 5.242 MB / 0.5762 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)