Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.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.001232/0.001232, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001403/0.001403, allocations: 216.7 kB / 23.01 MB, free: 4.609 MB / 14.72 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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.002418/0.002418, allocations: 284.2 kB / 313.5 MB, free: 2.953 MB / 238.1 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 1.143/1.143, allocations: 180.6 MB / 0.5377 GB, free: 12.97 MB / 382.1 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.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 101.7 kB / 0.7408 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1603, allocations: 95.38 MB / 0.8339 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.00559/0.1659, allocations: 3.81 MB / 0.8377 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.005652/0.1716, allocations: 3.731 MB / 0.8413 GB, free: 0.6172 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.1719, allocations: 15.88 kB / 0.8413 GB, free: 0.6016 MB / 0.5763 GB [/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.0004416/0.1723, allocations: 130.2 kB / 0.8414 GB, free: 488 kB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1735, allocations: 0.4973 MB / 0.8419 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.1742, allocations: 370.5 kB / 0.8423 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.175, allocations: 0.7721 MB / 0.843 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1753, allocations: 135.1 kB / 0.8432 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.1757, allocations: 330.8 kB / 0.8435 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.1762, allocations: 322.7 kB / 0.8438 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.226e-05/0.1763, allocations: 67.94 kB / 0.8438 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009396/0.1772, allocations: 0.5697 MB / 0.8444 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1774, allocations: 179.3 kB / 0.8446 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.1777, allocations: 326.3 kB / 0.8449 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.179, allocations: 1.164 MB / 0.846 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.179, allocations: 4 kB / 0.846 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.179, allocations: 0 / 0.846 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.1791, allocations: 0 / 0.846 GB, free: 11.75 MB / 0.5919 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.001895/0.181, allocations: 0.9651 MB / 0.847 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.181, allocations: 13.94 kB / 0.847 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003769/0.1848, allocations: 0.6482 MB / 0.8476 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.1861, allocations: 0.5738 MB / 0.8482 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.1863, allocations: 195.8 kB / 0.8484 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.1864, allocations: 47.94 kB / 0.8484 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.1879, allocations: 0.7026 MB / 0.8491 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.188, allocations: 3.984 kB / 0.8491 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.188, allocations: 20 kB / 0.8491 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.188, allocations: 12 kB / 0.8491 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.19, allocations: 0.7533 MB / 0.8499 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.1934, allocations: 1.783 MB / 0.8516 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.1962, allocations: 0.811 MB / 0.8524 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.1971, allocations: 341.9 kB / 0.8527 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.1982, allocations: 204.1 kB / 0.8529 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.1993, allocations: 441.9 kB / 0.8533 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.854e-06/0.1993, allocations: 0 / 0.8533 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.006969/0.2063, allocations: 1.547 MB / 0.8548 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.2063, allocations: 111.2 kB / 0.855 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.2069, allocations: 433.9 kB / 0.8554 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.2069, allocations: 33.7 kB / 0.8554 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.2072, allocations: 281.2 kB / 0.8557 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.2073, allocations: 194.4 kB / 0.8559 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.2076, allocations: 126.2 kB / 0.856 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2077, allocations: 358.8 kB / 0.8563 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/0.2086, allocations: 313 kB / 0.8566 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/0.2096, allocations: 453.3 kB / 0.857 GB, free: 168 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.2114, allocations: 0.7133 MB / 0.8577 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2114, allocations: 0 / 0.8577 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003865/0.2153, allocations: 1.052 MB / 0.8588 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2153, allocations: 8 kB / 0.8588 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2153, allocations: 7.938 kB / 0.8588 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007424/0.2161, allocations: 136.7 kB / 0.8589 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.2168, allocations: 159.8 kB / 0.8591 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.2218, allocations: 2.001 MB / 0.861 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.2226, allocations: 108.6 kB / 0.8611 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.2227, allocations: 31.97 kB / 0.8612 GB, free: 11.78 MB / 0.6075 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): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003309/0.223, allocations: 209.6 kB / 0.8614 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2231, allocations: 55.62 kB / 0.8614 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.2265, allocations: 1.054 MB / 0.8624 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.2265, allocations: 11.94 kB / 0.8625 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2265, allocations: 0 / 0.8625 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2265, allocations: 3.984 kB / 0.8625 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.2305, allocations: 1.734 MB / 0.8641 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2305, allocations: 0 / 0.8641 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.2313, allocations: 143.8 kB / 0.8643 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/0.2319, allocations: 120.7 kB / 0.8644 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.232, allocations: 19.98 kB / 0.8644 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.2353, allocations: 1.812 MB / 0.8662 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2353, allocations: 0 / 0.8662 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.2384, allocations: 1.027 MB / 0.8672 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.2387, allocations: 135.4 kB / 0.8673 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.2388, allocations: 12 kB / 0.8673 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/0.2395, allocations: 55.92 kB / 0.8674 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.2396, allocations: 56.56 kB / 0.8674 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.2396, allocations: 19.98 kB / 0.8675 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003703/0.24, allocations: 303.1 kB / 0.8677 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.24, allocations: 0 / 0.8677 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008018/0.2408, allocations: 267.2 kB / 0.868 GB, free: 4.547 MB / 0.6075 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): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001898/0.2427, allocations: 0.5578 MB / 0.8685 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.245, allocations: 0.8471 MB / 0.8694 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.245, allocations: 0 / 0.8694 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.246, allocations: 0.4905 MB / 0.8699 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.2465, allocations: 71.95 kB / 0.8699 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.2491, allocations: 1.297 MB / 0.8712 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.2497, allocations: 0.8888 MB / 0.8721 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.25, allocations: 83.38 kB / 0.8721 GB, free: 392 kB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.25, allocations: 3.938 kB / 0.8721 GB, free: 388 kB / 0.6075 GB Notification: Performance of Templates: time 0.01828/0.2682, allocations: 13.31 MB / 0.8851 GB, free: 3.102 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.285873150918633] Failed to read output from testmodel.py, exit status != 0: 0.27560995891690254 0.290018091 0.10800583000000001 Calling exit ...