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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9081/0.9081, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 187 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009526/0.0009526, allocations: 88.31 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 265.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004498, allocations: 14.62 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1889, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6152/0.8041, allocations: 119.9 MB / 0.8908 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.8044, allocations: 81.12 kB / 0.8909 GB, free: 21.84 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.05743/0.8618, allocations: 18.77 MB / 0.9092 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8618, allocations: 0 / 0.9092 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.264e-05/0.8619, allocations: 12.31 kB / 0.9092 GB, free: 20.34 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001934/0.8638, allocations: 0.8479 MB / 0.9101 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.8639, allocations: 7.75 kB / 0.9101 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.864, allocations: 88.94 kB / 0.9102 GB, free: 19.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.8665, allocations: 484.3 kB / 0.9106 GB, free: 19.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.8672, allocations: 394.2 kB / 0.911 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.8673, allocations: 197.2 kB / 0.9112 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.938e-05/0.8674, allocations: 51.44 kB / 0.9112 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.8689, allocations: 0.7578 MB / 0.912 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.8689, allocations: 0 / 0.912 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.869, allocations: 21.62 kB / 0.912 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.869, allocations: 11.66 kB / 0.912 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.871, allocations: 0.962 MB / 0.913 GB, free: 19.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.8743, allocations: 1.687 MB / 0.9146 GB, free: 18.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.8776, allocations: 1.277 MB / 0.9158 GB, free: 18.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.8791, allocations: 1.766 MB / 0.9176 GB, free: 16.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.8803, allocations: 0.5568 MB / 0.9181 GB, free: 16.53 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 2.985e-06/0.8803, allocations: 4 kB / 0.9181 GB, free: 16.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.003259/0.8836, allocations: 1.354 MB / 0.9194 GB, free: 16.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.8836, allocations: 137.9 kB / 0.9196 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.8843, allocations: 385.2 kB / 0.9199 GB, free: 16.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.226e-05/0.8844, allocations: 38.11 kB / 0.92 GB, free: 16.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.8846, allocations: 205.3 kB / 0.9202 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.8849, allocations: 221.2 kB / 0.9204 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.8849, allocations: 10.06 kB / 0.9204 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8851, allocations: 357.4 kB / 0.9207 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009108/0.886, allocations: 432.8 kB / 0.9211 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/0.8869, allocations: 498.5 kB / 0.9216 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.8879, allocations: 422.1 kB / 0.922 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8879, allocations: 0 / 0.922 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002469/0.8904, allocations: 1.038 MB / 0.923 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.8904, allocations: 3.906 kB / 0.923 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.8904, allocations: 0 / 0.923 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.8905, allocations: 3.844 kB / 0.923 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.8916, allocations: 208.2 kB / 0.9232 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.8916, allocations: 0 / 0.9232 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.8928, allocations: 166.2 kB / 0.9234 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.893, allocations: 34.61 kB / 0.9234 GB, free: 15.34 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004443/0.8934, allocations: 206.7 kB / 0.9236 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.8935, allocations: 50.73 kB / 0.9237 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.8969, allocations: 1.299 MB / 0.925 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.8969, allocations: 11.62 kB / 0.925 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.8969, allocations: 3.328 kB / 0.925 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.8969, allocations: 2.062 kB / 0.925 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.9004, allocations: 2.074 MB / 0.927 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9004, allocations: 0 / 0.927 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.9015, allocations: 216.6 kB / 0.9272 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.9015, allocations: 7.141 kB / 0.9272 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.9016, allocations: 21.78 kB / 0.9272 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.9016, allocations: 3.906 kB / 0.9272 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9016, allocations: 0 / 0.9272 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.9038, allocations: 1.197 MB / 0.9284 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.9042, allocations: 249.5 kB / 0.9286 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.9044, allocations: 21.69 kB / 0.9287 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.9052, allocations: 100.1 kB / 0.9288 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.9053, allocations: 58.62 kB / 0.9288 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.9054, allocations: 27.2 kB / 0.9288 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003528/0.9058, allocations: 299.8 kB / 0.9291 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9058, allocations: 0 / 0.9291 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009497/0.9067, allocations: 271.6 kB / 0.9294 GB, free: 14.17 MB / 0.5417 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 (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004369/0.9111, allocations: 2.185 MB / 0.9315 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002175/0.9133, allocations: 1.017 MB / 0.9325 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9133, allocations: 0 / 0.9325 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.9144, allocations: 0.567 MB / 0.9331 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.9149, allocations: 56.83 kB / 0.9331 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.9217, allocations: 3.924 MB / 0.9369 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.9221, allocations: 0.877 MB / 0.9378 GB, free: 27.47 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008612/0.923, allocations: 171 kB / 0.938 GB, free: 27.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.9234, allocations: 218.4 kB / 0.9382 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.9235, allocations: 0 / 0.9382 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.9512, allocations: 14.18 MB / 0.952 GB, free: 20.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.9514, allocations: 222.3 kB / 0.9522 GB, free: 20.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.351, allocations: 0 / 0.9522 GB, free: 20.69 MB / 0.5573 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/linux/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)