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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 276.2 kB / 306.5 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.181/1.181, allocations: 180.9 MB / 0.53 GB, free: 14.38 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 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.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 0.002824/0.002824, allocations: 102.5 kB / 0.7308 GB, free: 38.64 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1504, allocations: 94.2 MB / 0.8228 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005809/0.1562, allocations: 3.797 MB / 0.8265 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005462/0.1616, allocations: 3.557 MB / 0.83 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.1619, allocations: 11.88 kB / 0.83 GB, free: 10.5 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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 2.0.0-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 2.0.0-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.0004628/0.1624, allocations: 130.7 kB / 0.8301 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1635, allocations: 465.4 kB / 0.8306 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000794/0.1643, allocations: 353.9 kB / 0.8309 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000828/0.1651, allocations: 0.7603 MB / 0.8316 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.1654, allocations: 134.5 kB / 0.8318 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.1658, allocations: 314.9 kB / 0.8321 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.1663, allocations: 322.6 kB / 0.8324 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/0.1664, allocations: 68 kB / 0.8324 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009043/0.1673, allocations: 0.4956 MB / 0.8329 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.1675, allocations: 171.4 kB / 0.8331 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.1678, allocations: 326.2 kB / 0.8334 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1692, allocations: 1.09 MB / 0.8345 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1693, allocations: 0 / 0.8345 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1693, allocations: 0 / 0.8345 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.1693, allocations: 3.938 kB / 0.8345 GB, free: 5.898 MB / 0.5762 GB 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.001974/0.1712, allocations: 0.9419 MB / 0.8354 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1713, allocations: 8.031 kB / 0.8354 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/0.1749, allocations: 0.6248 MB / 0.836 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.1764, allocations: 0.5661 MB / 0.8366 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.1765, allocations: 114.7 kB / 0.8367 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.1766, allocations: 51.88 kB / 0.8367 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.1783, allocations: 0.6987 MB / 0.8374 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1783, allocations: 0 / 0.8374 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.1783, allocations: 24 kB / 0.8374 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1784, allocations: 12 kB / 0.8374 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.1805, allocations: 0.7533 MB / 0.8382 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.1842, allocations: 1.785 MB / 0.8399 GB, free: 180 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.1872, allocations: 0.8056 MB / 0.8407 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009997/0.1882, allocations: 330 kB / 0.841 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.1893, allocations: 200.2 kB / 0.8412 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.1905, allocations: 433.1 kB / 0.8416 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.123e-06/0.1905, allocations: 0 / 0.8416 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.00305/0.1935, allocations: 1.014 MB / 0.8426 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/0.1936, allocations: 111.2 kB / 0.8427 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.1941, allocations: 435.1 kB / 0.8431 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.1942, allocations: 33.7 kB / 0.8432 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.1944, allocations: 293 kB / 0.8434 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.1946, allocations: 182.4 kB / 0.8436 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1948, allocations: 122.2 kB / 0.8437 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.195, allocations: 366.8 kB / 0.8441 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.1959, allocations: 297.1 kB / 0.8444 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.197, allocations: 445.3 kB / 0.8448 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.1989, allocations: 0.6974 MB / 0.8455 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1989, allocations: 4 kB / 0.8455 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002251/0.2012, allocations: 0.8094 MB / 0.8463 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2012, allocations: 10.34 kB / 0.8463 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2012, allocations: 4 kB / 0.8463 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2012, allocations: 4 kB / 0.8463 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.2021, allocations: 183.9 kB / 0.8465 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.2022, allocations: 7.938 kB / 0.8465 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.2029, allocations: 99.55 kB / 0.8466 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/0.2029, allocations: 31.97 kB / 0.8466 GB, free: 9.148 MB / 0.5919 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.0003345/0.2033, allocations: 210.2 kB / 0.8468 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.2034, allocations: 55.67 kB / 0.8469 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.2058, allocations: 0.8893 MB / 0.8477 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.2058, allocations: 11.98 kB / 0.8477 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.2058, allocations: 3.938 kB / 0.8477 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2058, allocations: 3.984 kB / 0.8477 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.209, allocations: 1.561 MB / 0.8493 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.209, allocations: 0 / 0.8493 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.2101, allocations: 151.8 kB / 0.8494 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.2101, allocations: 3.938 kB / 0.8494 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.2102, allocations: 19.98 kB / 0.8494 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2102, allocations: 0 / 0.8494 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2102, allocations: 0 / 0.8494 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.2134, allocations: 0.8662 MB / 0.8503 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.2139, allocations: 135.4 kB / 0.8504 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.214, allocations: 15.94 kB / 0.8504 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009571/0.215, allocations: 55.94 kB / 0.8505 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.2151, allocations: 44.58 kB / 0.8505 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.2152, allocations: 23.98 kB / 0.8505 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005779/0.2158, allocations: 299.1 kB / 0.8508 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2158, allocations: 0 / 0.8508 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001196/0.217, allocations: 231.4 kB / 0.851 GB, free: 4.508 MB / 0.5919 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.002369/0.2194, allocations: 0.505 MB / 0.8515 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003106/0.2225, allocations: 0.7002 MB / 0.8522 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2225, allocations: 0 / 0.8522 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.224, allocations: 359.5 kB / 0.8526 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.2248, allocations: 77.56 kB / 0.8526 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.2284, allocations: 1.231 MB / 0.8538 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.2291, allocations: 0.8811 MB / 0.8547 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009573/0.2301, allocations: 156.3 kB / 0.8549 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.2305, allocations: 75.39 kB / 0.8549 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.2305, allocations: 0 / 0.8549 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of Templates: time 0.02527/0.2558, allocations: 9.112 MB / 0.8638 GB, free: 7.566 MB / 0.6075 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.19491942320019] Failed to read output from testmodel.py, exit status != 0: 0.26454401668161154 0.286644096 0.11306650700000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f28772ad7b0>