Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.00142/0.00142, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 262.9 kB / 291.3 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 12.59 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1456, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.003577/0.1492, allocations: 3.275 MB / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.1532, allocations: 3.201 MB / 0.6908 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.1534, allocations: 11.94 kB / 0.6908 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.1537, allocations: 107.2 kB / 0.6909 GB, free: 8.871 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007666/0.1545, allocations: 365.5 kB / 0.6913 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.1551, allocations: 283.2 kB / 0.6915 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.1557, allocations: 0.6821 MB / 0.6922 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.156, allocations: 148.7 kB / 0.6923 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.1563, allocations: 254.8 kB / 0.6926 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.1566, allocations: 266.8 kB / 0.6928 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.1567, allocations: 20 kB / 0.6928 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006828/0.1574, allocations: 447.4 kB / 0.6933 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1576, allocations: 119.5 kB / 0.6934 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1577, allocations: 129.4 kB / 0.6935 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007576/0.1584, allocations: 0.7988 MB / 0.6943 GB, free: 5.395 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1585, allocations: 0 / 0.6943 GB, free: 5.395 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1585, allocations: 0 / 0.6943 GB, free: 5.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1585, allocations: 0 / 0.6943 GB, free: 5.395 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001567/0.16, allocations: 0.9016 MB / 0.6952 GB, free: 4.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1601, allocations: 8.031 kB / 0.6952 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.1633, allocations: 0.6352 MB / 0.6958 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.1646, allocations: 0.6225 MB / 0.6964 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.1647, allocations: 122.1 kB / 0.6965 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.1648, allocations: 48 kB / 0.6966 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.1663, allocations: 0.7113 MB / 0.6973 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1663, allocations: 3.953 kB / 0.6973 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.1664, allocations: 23.94 kB / 0.6973 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1664, allocations: 12 kB / 0.6973 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.1683, allocations: 0.7884 MB / 0.6981 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.1715, allocations: 1.919 MB / 0.6999 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.1742, allocations: 0.8771 MB / 0.7008 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/0.1751, allocations: 394.2 kB / 0.7012 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/0.1768, allocations: 1.769 MB / 0.7029 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.1779, allocations: 466.8 kB / 0.7034 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=58): time 3.777e-06/0.1779, allocations: 3.984 kB / 0.7034 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58): time 0.006239/0.1841, allocations: 1.706 MB / 0.705 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.1842, allocations: 107.4 kB / 0.7051 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.1847, allocations: 413.9 kB / 0.7055 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.1847, allocations: 37.7 kB / 0.7056 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.1849, allocations: 273.5 kB / 0.7058 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1851, allocations: 193.2 kB / 0.706 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.1852, allocations: 12 kB / 0.706 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1853, allocations: 358.8 kB / 0.7064 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.1862, allocations: 333.1 kB / 0.7067 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.1871, allocations: 455.7 kB / 0.7071 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/0.188, allocations: 338 kB / 0.7074 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.188, allocations: 4 kB / 0.7074 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003469/0.1915, allocations: 1.081 MB / 0.7085 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1915, allocations: 14.02 kB / 0.7085 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1915, allocations: 4.281 kB / 0.7085 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/0.1922, allocations: 140.7 kB / 0.7086 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.193, allocations: 167.7 kB / 0.7088 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.1974, allocations: 1.993 MB / 0.7107 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.1981, allocations: 107.5 kB / 0.7108 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.1982, allocations: 31.97 kB / 0.7109 GB, free: 3.535 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003101/0.1985, allocations: 218.2 kB / 0.7111 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.1986, allocations: 51.34 kB / 0.7111 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/0.2018, allocations: 1.113 MB / 0.7122 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2018, allocations: 8 kB / 0.7122 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2019, allocations: 0 / 0.7122 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2019, allocations: 7.938 kB / 0.7122 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.2056, allocations: 1.823 MB / 0.714 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2057, allocations: 0 / 0.714 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.2064, allocations: 159.7 kB / 0.7142 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006759/0.2071, allocations: 124.8 kB / 0.7143 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.2072, allocations: 23.92 kB / 0.7143 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.2101, allocations: 1.782 MB / 0.7161 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2101, allocations: 0 / 0.7161 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.2129, allocations: 1.065 MB / 0.7171 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.2132, allocations: 216.2 kB / 0.7173 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.2133, allocations: 15.95 kB / 0.7173 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.2139, allocations: 75.84 kB / 0.7174 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.214, allocations: 44.58 kB / 0.7174 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.2141, allocations: 23.98 kB / 0.7175 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003246/0.2144, allocations: 299.1 kB / 0.7177 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.593e-06/0.2144, allocations: 0 / 0.7177 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000742/0.2152, allocations: 243.6 kB / 0.718 GB, free: 12 MB / 0.5137 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 (69): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.2163, allocations: 0.5005 MB / 0.7185 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.2184, allocations: 0.8982 MB / 0.7193 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2184, allocations: 4.188 kB / 0.7193 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.2195, allocations: 0.5373 MB / 0.7199 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.22, allocations: 65.94 kB / 0.7199 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.2224, allocations: 1.584 MB / 0.7215 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.2229, allocations: 0.8812 MB / 0.7223 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007321/0.2236, allocations: 148.5 kB / 0.7225 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.2239, allocations: 75.38 kB / 0.7225 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.2239, allocations: 3.938 kB / 0.7226 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of Templates: time 0.0163/0.2402, allocations: 9.978 MB / 0.7323 GB, free: 13.45 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1)