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.001219/0.001219, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001237/0.001237, allocations: 194.6 kB / 22.85 MB, free: 5.652 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.324/1.324, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.002471/0.002471, allocations: 295 kB / 307 MB, free: 8.34 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.132/1.132, allocations: 180.7 MB / 0.5304 GB, free: 14.36 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.002743/0.002743, allocations: 103.5 kB / 0.731 GB, free: 38.78 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1431, allocations: 94.2 MB / 0.823 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005568/0.1487, allocations: 3.785 MB / 0.8267 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005811/0.1545, allocations: 3.564 MB / 0.8302 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004266/0.1549, allocations: 11.88 kB / 0.8302 GB, free: 10.64 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.0006191/0.1555, allocations: 115 kB / 0.8303 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.157, allocations: 469.4 kB / 0.8308 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.1579, allocations: 361.6 kB / 0.8311 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.159, allocations: 0.7526 MB / 0.8319 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.1593, allocations: 130.5 kB / 0.832 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.1598, allocations: 306.9 kB / 0.8323 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.1604, allocations: 330.6 kB / 0.8326 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.1606, allocations: 68 kB / 0.8327 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1616, allocations: 499.5 kB / 0.8331 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.1619, allocations: 167.4 kB / 0.8333 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.1622, allocations: 326.2 kB / 0.8336 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1636, allocations: 1.082 MB / 0.8347 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1636, allocations: 7.938 kB / 0.8347 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1636, allocations: 0 / 0.8347 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.1637, allocations: 0 / 0.8347 GB, free: 6.062 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.001879/0.1655, allocations: 0.9419 MB / 0.8356 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1656, allocations: 8.031 kB / 0.8356 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.169, allocations: 0.6287 MB / 0.8362 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.1705, allocations: 0.5621 MB / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.1706, allocations: 118.7 kB / 0.8369 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.1707, allocations: 51.94 kB / 0.8369 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.1723, allocations: 0.6987 MB / 0.8376 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1723, allocations: 0 / 0.8376 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.1723, allocations: 20 kB / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1724, allocations: 12 kB / 0.8376 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.1743, allocations: 0.7533 MB / 0.8384 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.1779, allocations: 1.781 MB / 0.8401 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.1807, allocations: 0.8069 MB / 0.8409 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009215/0.1817, allocations: 333.9 kB / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.1828, allocations: 208.2 kB / 0.8414 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.1839, allocations: 425.1 kB / 0.8418 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.014e-06/0.1839, allocations: 0 / 0.8418 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003004/0.1869, allocations: 1.01 MB / 0.8428 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.187, allocations: 119.2 kB / 0.8429 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.1875, allocations: 431.1 kB / 0.8433 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.1876, allocations: 33.7 kB / 0.8434 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.1879, allocations: 289 kB / 0.8436 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.188, allocations: 178.5 kB / 0.8438 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.1883, allocations: 130.2 kB / 0.8439 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1884, allocations: 358.8 kB / 0.8443 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.1893, allocations: 301.1 kB / 0.8446 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.1904, allocations: 437.4 kB / 0.845 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.1922, allocations: 0.7013 MB / 0.8457 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1922, allocations: 4 kB / 0.8457 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002189/0.1944, allocations: 0.8132 MB / 0.8465 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1944, allocations: 8 kB / 0.8465 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1945, allocations: 7.984 kB / 0.8465 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1945, allocations: 4 kB / 0.8465 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008972/0.1954, allocations: 175.9 kB / 0.8467 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.1954, allocations: 11.94 kB / 0.8467 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.1961, allocations: 107.5 kB / 0.8468 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.1961, allocations: 27.98 kB / 0.8468 GB, free: 9.312 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.0002878/0.1964, allocations: 210.3 kB / 0.847 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1965, allocations: 51.67 kB / 0.847 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.1989, allocations: 0.9009 MB / 0.8479 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.1989, allocations: 8 kB / 0.8479 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1989, allocations: 3.938 kB / 0.8479 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1989, allocations: 0 / 0.8479 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.2019, allocations: 1.549 MB / 0.8494 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2019, allocations: 3.984 kB / 0.8495 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.2028, allocations: 151.8 kB / 0.8496 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.2028, allocations: 3.938 kB / 0.8496 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.2028, allocations: 23.97 kB / 0.8496 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2028, allocations: 0 / 0.8496 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2028, allocations: 0 / 0.8496 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.2048, allocations: 0.8663 MB / 0.8505 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.2051, allocations: 131.4 kB / 0.8506 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.2052, allocations: 11.94 kB / 0.8506 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.2058, allocations: 59.94 kB / 0.8507 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2059, allocations: 40.56 kB / 0.8507 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.2059, allocations: 23.98 kB / 0.8507 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003503/0.2063, allocations: 299.1 kB / 0.851 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2063, allocations: 0 / 0.851 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006897/0.207, allocations: 231.4 kB / 0.8512 GB, free: 4.684 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.001649/0.2086, allocations: 0.5111 MB / 0.8517 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.2105, allocations: 0.6998 MB / 0.8524 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2105, allocations: 0 / 0.8524 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.2114, allocations: 360 kB / 0.8528 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.2119, allocations: 68 kB / 0.8528 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.2142, allocations: 1.237 MB / 0.854 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.2148, allocations: 0.8733 MB / 0.8549 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006008/0.2154, allocations: 164.4 kB / 0.855 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.2156, allocations: 75.38 kB / 0.8551 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.2156, allocations: 3.938 kB / 0.8551 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of Templates: time 0.01649/0.2321, allocations: 9.125 MB / 0.864 GB, free: 7.727 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.90765469300095] Failed to read output from testmodel.py, exit status != 0: 0.2392144009936601 0.25379543999999993 0.08707490100000001 Calling exit ...