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/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: 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/BuildingSystems 2.0.0-master/package.mo): time 0.7957/0.7957, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 184.3 kB / 187.3 MB, free: 11.91 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.452/1.452, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0008957/0.0008957, allocations: 98.28 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001902/0.001903, allocations: 280.7 kB / 0.594 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.496e-05/4.506e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4896, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.6386, allocations: 123.6 MB / 0.8849 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.6389, allocations: 83.83 kB / 0.885 GB, free: 0.8789 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.05935/0.6983, allocations: 20.12 MB / 0.9047 GB, free: 12.63 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.466e-06/0.6984, allocations: 0 / 0.9047 GB, free: 12.63 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.133e-05/0.6984, allocations: 12 kB / 0.9047 GB, free: 12.62 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002024/0.7005, allocations: 0.8747 MB / 0.9055 GB, free: 11.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.7005, allocations: 8.031 kB / 0.9055 GB, free: 11.69 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.7035, allocations: 0.5455 MB / 0.9061 GB, free: 11.14 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.7043, allocations: 452.8 kB / 0.9065 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.7045, allocations: 122.1 kB / 0.9066 GB, free: 10.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/0.7046, allocations: 44 kB / 0.9067 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.7059, allocations: 0.6645 MB / 0.9073 GB, free: 9.789 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.7059, allocations: 0 / 0.9073 GB, free: 9.789 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.706, allocations: 20 kB / 0.9073 GB, free: 9.77 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.706, allocations: 12 kB / 0.9074 GB, free: 9.758 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.7072, allocations: 0.6989 MB / 0.908 GB, free: 9.059 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.7116, allocations: 2.168 MB / 0.9102 GB, free: 6.836 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.7136, allocations: 0.8381 MB / 0.911 GB, free: 5.988 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.7143, allocations: 346.5 kB / 0.9113 GB, free: 5.648 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.7161, allocations: 1.773 MB / 0.913 GB, free: 3.484 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000761/0.7169, allocations: 439.2 kB / 0.9134 GB, free: 3.043 MB / 0.573 GB Notification: Performance of pre-optimization done (n=60): time 3.406e-06/0.7169, allocations: 0 / 0.9134 GB, free: 3.043 MB / 0.573 GB Notification: Performance of matching and sorting (n=60): time 0.00307/0.72, allocations: 0.9402 MB / 0.9144 GB, free: 2.094 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.7201, allocations: 141 kB / 0.9145 GB, free: 1.922 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/0.721, allocations: 435.1 kB / 0.9149 GB, free: 1.492 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.7211, allocations: 33.7 kB / 0.9149 GB, free: 1.453 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.7213, allocations: 261 kB / 0.9152 GB, free: 1.191 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.7215, allocations: 193.1 kB / 0.9154 GB, free: 1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.7216, allocations: 16 kB / 0.9154 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7218, allocations: 366.7 kB / 0.9157 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.7223, allocations: 293 kB / 0.916 GB, free: 340 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4366/1.159, allocations: 374.8 kB / 0.9164 GB, free: 134.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/1.16, allocations: 286.6 kB / 0.9167 GB, free: 134.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.16, allocations: 0 / 0.9167 GB, free: 134.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003444/1.163, allocations: 0.9977 MB / 0.9176 GB, free: 134.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.163, allocations: 6.688 kB / 0.9176 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.163, allocations: 1.562 kB / 0.9176 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007812/1.164, allocations: 157.9 kB / 0.9178 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.165, allocations: 187.3 kB / 0.918 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/1.169, allocations: 1.97 MB / 0.9199 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.17, allocations: 157 kB / 0.92 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.269e-05/1.17, allocations: 28.16 kB / 0.9201 GB, free: 133 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0002034/1.17, allocations: 146.2 kB / 0.9202 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.171, allocations: 56.95 kB / 0.9203 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/1.174, allocations: 1.156 MB / 0.9214 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.174, allocations: 6.438 kB / 0.9214 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.174, allocations: 0.8125 kB / 0.9214 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.174, allocations: 4.25 kB / 0.9214 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/1.179, allocations: 1.99 MB / 0.9233 GB, free: 132.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.179, allocations: 0.5625 kB / 0.9233 GB, free: 132.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009726/1.18, allocations: 186.2 kB / 0.9235 GB, free: 132.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000581/1.181, allocations: 139.1 kB / 0.9237 GB, free: 132.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/1.181, allocations: 22.25 kB / 0.9237 GB, free: 132.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/1.184, allocations: 2.013 MB / 0.9256 GB, free: 131.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.184, allocations: 3.422 kB / 0.9256 GB, free: 131.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/1.187, allocations: 1.117 MB / 0.9267 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.188, allocations: 240.6 kB / 0.927 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.554e-05/1.188, allocations: 14.75 kB / 0.927 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/1.189, allocations: 112.6 kB / 0.9271 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.189, allocations: 58.22 kB / 0.9271 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/1.189, allocations: 26.72 kB / 0.9272 GB, free: 130.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005607/1.19, allocations: 338.1 kB / 0.9275 GB, free: 130.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/1.19, allocations: 0 / 0.9275 GB, free: 130.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001282/1.191, allocations: 293.9 kB / 0.9278 GB, free: 130.7 MB / 0.573 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 69 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/1.192, allocations: 0.5132 MB / 0.9283 GB, free: 130.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.194, allocations: 0.8525 MB / 0.9291 GB, free: 130.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.194, allocations: 4.375 kB / 0.9291 GB, free: 130.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/1.195, allocations: 0.5246 MB / 0.9296 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/1.195, allocations: 56.06 kB / 0.9297 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/1.197, allocations: 0.8968 MB / 0.9306 GB, free: 129.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/1.197, allocations: 0.8936 MB / 0.9314 GB, free: 129 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006577/1.198, allocations: 147.9 kB / 0.9316 GB, free: 129 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/1.198, allocations: 72 kB / 0.9316 GB, free: 128.9 MB / 0.573 GB Notification: Performance of SimCode: time 6.92e-07/1.198, allocations: 0 / 0.9316 GB, free: 128.9 MB / 0.573 GB Notification: Performance of Templates: time 0.01888/1.217, allocations: 12.11 MB / 0.9435 GB, free: 127.9 MB / 0.573 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)