Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002476/0.002476, allocations: 229.7 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7152/0.7152, allocations: 138.4 MB / 455.2 MB, free: 1.555 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 3.984 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.831e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005703/0.005732, allocations: 3.679 MB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.01159, allocations: 3.669 MB / 0.5623 GB, free: 9.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.01198, allocations: 15.88 kB / 0.5623 GB, free: 9.164 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.000565/0.01255, allocations: 122.9 kB / 0.5624 GB, free: 9.043 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.01399, allocations: 0.5203 MB / 0.5629 GB, free: 8.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.0148, allocations: 355 kB / 0.5632 GB, free: 8.172 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009789/0.01578, allocations: 0.7836 MB / 0.564 GB, free: 7.387 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.01607, allocations: 130.4 kB / 0.5641 GB, free: 7.258 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009057/0.01697, allocations: 454.9 kB / 0.5646 GB, free: 6.812 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.01749, allocations: 255.2 kB / 0.5648 GB, free: 6.562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.01762, allocations: 68 kB / 0.5649 GB, free: 6.496 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.01866, allocations: 0.5421 MB / 0.5654 GB, free: 5.953 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.01884, allocations: 171.4 kB / 0.5656 GB, free: 5.785 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.01908, allocations: 211.4 kB / 0.5658 GB, free: 5.578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.02053, allocations: 0.9342 MB / 0.5667 GB, free: 4.641 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.02053, allocations: 0 / 0.5667 GB, free: 4.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.02053, allocations: 0 / 0.5667 GB, free: 4.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.02055, allocations: 0 / 0.5667 GB, free: 4.641 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001766/0.02231, allocations: 1.061 MB / 0.5677 GB, free: 3.539 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/0.02238, allocations: 8.75 kB / 0.5677 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/0.02476, allocations: 0.5312 MB / 0.5682 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.02583, allocations: 0.5252 MB / 0.5687 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.02599, allocations: 203.7 kB / 0.5689 GB, free: 2.211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.02608, allocations: 48.38 kB / 0.569 GB, free: 2.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.02723, allocations: 0.6259 MB / 0.5696 GB, free: 1.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.02725, allocations: 0 / 0.5696 GB, free: 1.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.02731, allocations: 20 kB / 0.5696 GB, free: 1.477 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.02733, allocations: 16 kB / 0.5696 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.02816, allocations: 361.7 kB / 0.57 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.03106, allocations: 1.384 MB / 0.5713 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.03257, allocations: 484.7 kB / 0.5718 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.03295, allocations: 157.1 kB / 0.5719 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006718/0.03363, allocations: 188.3 kB / 0.5721 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004783/0.0341, allocations: 255.7 kB / 0.5724 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.03411, allocations: 0 / 0.5724 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.001272/0.03538, allocations: 0.5279 MB / 0.5729 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.03544, allocations: 111.3 kB / 0.573 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.03589, allocations: 459.8 kB / 0.5734 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.03594, allocations: 33.7 kB / 0.5735 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.03616, allocations: 343.7 kB / 0.5738 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.03631, allocations: 182.5 kB / 0.574 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.03652, allocations: 127.9 kB / 0.5741 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.03675, allocations: 0.5391 MB / 0.5746 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.03707, allocations: 121.2 kB / 0.5747 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.03752, allocations: 357 kB / 0.5751 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.0383, allocations: 417.1 kB / 0.5755 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.0383, allocations: 0 / 0.5755 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001036/0.03934, allocations: 0.5047 MB / 0.576 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.03936, allocations: 10.66 kB / 0.576 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.03937, allocations: 4 kB / 0.576 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.03939, allocations: 4 kB / 0.576 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.04001, allocations: 164.2 kB / 0.5761 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.04002, allocations: 11.94 kB / 0.5761 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.04043, allocations: 79.58 kB / 0.5762 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.04049, allocations: 31.97 kB / 0.5762 GB, free: 10.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0001963/0.04069, allocations: 196.3 kB / 0.5764 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.04082, allocations: 67.67 kB / 0.5765 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.04205, allocations: 0.5888 MB / 0.5771 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.04206, allocations: 8 kB / 0.5771 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.04206, allocations: 0 / 0.5771 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001382/0.0422, allocations: 3.984 kB / 0.5771 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.04391, allocations: 1.089 MB / 0.5781 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.04392, allocations: 0 / 0.5781 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.04447, allocations: 139.8 kB / 0.5783 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.04448, allocations: 4 kB / 0.5783 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.04453, allocations: 15.98 kB / 0.5783 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.04453, allocations: 4 kB / 0.5783 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04453, allocations: 0 / 0.5783 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.04555, allocations: 0.6247 MB / 0.5789 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.0458, allocations: 131.4 kB / 0.579 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.04588, allocations: 16 kB / 0.5791 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.04627, allocations: 39.95 kB / 0.5791 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.04637, allocations: 40.58 kB / 0.5791 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.04643, allocations: 19.98 kB / 0.5791 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002998/0.04672, allocations: 299 kB / 0.5794 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.04672, allocations: 0 / 0.5794 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007701/0.0475, allocations: 251.3 kB / 0.5797 GB, free: 6.789 MB / 0.4948 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 (66): * Single equations (assignments): 65 * 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.001307/0.0488, allocations: 0.5762 MB / 0.5802 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003866/0.05267, allocations: 398.2 kB / 0.5806 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.05267, allocations: 4.062 kB / 0.5806 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.05334, allocations: 228.6 kB / 0.5808 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.05385, allocations: 88.56 kB / 0.5809 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.05569, allocations: 1.018 MB / 0.5819 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.05579, allocations: 132.8 kB / 0.582 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004699/0.05626, allocations: 144.4 kB / 0.5822 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.0565, allocations: 80.44 kB / 0.5823 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.0565, allocations: 0 / 0.5823 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of Templates: time 0.01429/0.0708, allocations: 9.279 MB / 0.5913 GB, free: 11.02 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.46253935014829]