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.005712/0.005712, allocations: 98.22 kB / 15.73 MB, free: 6.008 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.001541/0.001541, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.381/1.381, 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.002499/0.002499, allocations: 292.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.216/1.216, allocations: 178.5 MB / 0.5074 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 91.86 kB / 0.6942 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4239, allocations: 89.13 MB / 0.7813 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004418/0.4283, allocations: 3.07 MB / 0.7843 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005168/0.4335, allocations: 3.254 MB / 0.7875 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.4338, allocations: 3.031 kB / 0.7875 GB, free: 12.12 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.0003639/0.4342, allocations: 72.92 kB / 0.7875 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.4355, allocations: 424.4 kB / 0.7879 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.4364, allocations: 388.9 kB / 0.7883 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000823/0.4373, allocations: 0.7095 MB / 0.789 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.4375, allocations: 112.1 kB / 0.7891 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004431/0.438, allocations: 287 kB / 0.7894 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.4386, allocations: 320.6 kB / 0.7897 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4387, allocations: 61.91 kB / 0.7897 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.4398, allocations: 0.4942 MB / 0.7902 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.44, allocations: 168.6 kB / 0.7904 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.4403, allocations: 287.1 kB / 0.7907 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.4418, allocations: 0.9789 MB / 0.7916 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4418, allocations: 0 / 0.7916 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4418, allocations: 0 / 0.7916 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.4418, allocations: 1.219 kB / 0.7916 GB, free: 9.312 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.002208/0.444, allocations: 0.933 MB / 0.7925 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4441, allocations: 9.812 kB / 0.7925 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.4442, allocations: 86.55 kB / 0.7926 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.4475, allocations: 0.5572 MB / 0.7932 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.4489, allocations: 0.5607 MB / 0.7937 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.4491, allocations: 203.7 kB / 0.7939 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.4492, allocations: 44.16 kB / 0.794 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.4509, allocations: 0.6792 MB / 0.7946 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4509, allocations: 1.156 kB / 0.7946 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.451, allocations: 23.16 kB / 0.7946 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.451, allocations: 11.34 kB / 0.7946 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.4531, allocations: 0.7733 MB / 0.7954 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.4567, allocations: 1.732 MB / 0.7971 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.46, allocations: 1.019 MB / 0.7981 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008889/0.4609, allocations: 363.7 kB / 0.7984 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002141/0.463, allocations: 1.77 MB / 0.8002 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.4642, allocations: 462.7 kB / 0.8006 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 3.176e-06/0.4642, allocations: 0 / 0.8006 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.003018/0.4672, allocations: 1.067 MB / 0.8016 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.4673, allocations: 118.1 kB / 0.8018 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.4678, allocations: 360.3 kB / 0.8021 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.4679, allocations: 36.02 kB / 0.8021 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.4681, allocations: 225 kB / 0.8024 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.4683, allocations: 229.5 kB / 0.8026 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.4686, allocations: 147.5 kB / 0.8027 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4688, allocations: 352.8 kB / 0.8031 GB, free: 500 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008604/0.4697, allocations: 316.3 kB / 0.8034 GB, free: 340 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.4707, allocations: 443.9 kB / 0.8038 GB, free: 36 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.4726, allocations: 0.7233 MB / 0.8045 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4726, allocations: 1.5 kB / 0.8045 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002253/0.4748, allocations: 0.8621 MB / 0.8053 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4749, allocations: 6.469 kB / 0.8053 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4749, allocations: 2.562 kB / 0.8053 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4749, allocations: 6.156 kB / 0.8053 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4759, allocations: 187.8 kB / 0.8055 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.4759, allocations: 13.22 kB / 0.8055 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.4767, allocations: 98.78 kB / 0.8056 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/0.4768, allocations: 33.5 kB / 0.8057 GB, free: 15.01 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.0003457/0.4772, allocations: 197.7 kB / 0.8058 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4773, allocations: 51.67 kB / 0.8059 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.4803, allocations: 1.12 MB / 0.807 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4803, allocations: 15.94 kB / 0.807 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4803, allocations: 3.938 kB / 0.807 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.4803, allocations: 7.984 kB / 0.807 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.4839, allocations: 1.759 MB / 0.8087 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4839, allocations: 3.938 kB / 0.8087 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.4849, allocations: 195.7 kB / 0.8089 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.485, allocations: 7.938 kB / 0.8089 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.485, allocations: 19.98 kB / 0.8089 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.485, allocations: 7.984 kB / 0.809 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.485, allocations: 0 / 0.809 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.4874, allocations: 1.009 MB / 0.8099 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.4878, allocations: 228.4 kB / 0.8102 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4879, allocations: 20 kB / 0.8102 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/0.4886, allocations: 51.94 kB / 0.8102 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.4887, allocations: 60.92 kB / 0.8103 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.4888, allocations: 31.97 kB / 0.8103 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003297/0.4891, allocations: 251.2 kB / 0.8106 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4892, allocations: 0 / 0.8106 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008092/0.49, allocations: 235.5 kB / 0.8108 GB, free: 9.645 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.004319/0.4943, allocations: 1.957 MB / 0.8127 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.4966, allocations: 0.8112 MB / 0.8135 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4966, allocations: 4.188 kB / 0.8135 GB, free: 7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.4977, allocations: 469.4 kB / 0.8139 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.4983, allocations: 75.44 kB / 0.814 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009677/0.508, allocations: 5.132 MB / 0.819 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.5085, allocations: 0.87 MB / 0.8199 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007555/0.5093, allocations: 176.6 kB / 0.82 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.5098, allocations: 227.3 kB / 0.8203 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.5098, allocations: 0 / 0.8203 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.5534, allocations: 14.55 MB / 0.8345 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.134/9.687, allocations: 0.6562 kB / 0.8345 GB, free: 1.473 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)