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.001119/0.001119, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002811, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001127/0.001127, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002686, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08474/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 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.001235/0.001235, allocations: 226.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002753, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 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 0.6611/0.6611, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07048/0.7316, allocations: 42.41 MB / 426.7 MB, free: 5.812 MB / 410.7 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.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 1.152e-06/1.152e-06, allocations: 0 / 428 MB, free: 4.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.452e-05, allocations: 2.312 kB / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003494/0.003508, allocations: 3.703 MB / 431.7 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1781/0.1817, allocations: 3.733 MB / 435.5 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003705/0.182, allocations: 17.95 kB / 435.5 MB, free: 1.156 MB / 410.7 MB [/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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1824, allocations: 124.2 kB / 435.6 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.1834, allocations: 0.4931 MB / 436.1 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.1841, allocations: 355.1 kB / 436.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.1848, allocations: 0.7695 MB / 437.2 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.185, allocations: 139.1 kB / 437.3 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.1856, allocations: 0.496 MB / 437.8 MB, free: 416 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.186, allocations: 247.1 kB / 438.1 MB, free: 348 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1861, allocations: 64.81 kB / 438.1 MB, free: 348 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009678/0.1871, allocations: 0.572 MB / 438.7 MB, free: 220 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1872, allocations: 132 kB / 438.8 MB, free: 184 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1874, allocations: 165.4 kB / 439 MB, free: 160 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.1884, allocations: 0.8061 MB / 439.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.1884, allocations: 2.453 kB / 439.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1884, allocations: 0 / 439.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.1884, allocations: 0.9062 kB / 439.8 MB, free: 15.91 MB / 426.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.001488/0.1899, allocations: 1.085 MB / 440.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.1899, allocations: 14.41 kB / 440.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.1914, allocations: 443.6 kB / 441.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.1919, allocations: 359.1 kB / 441.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.192, allocations: 198 kB / 441.9 MB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.1921, allocations: 47.19 kB / 441.9 MB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.1929, allocations: 0.538 MB / 442.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1929, allocations: 5.281 kB / 442.5 MB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.193, allocations: 20.91 kB / 442.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.193, allocations: 13.84 kB / 442.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.1934, allocations: 240.2 kB / 442.8 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1954, allocations: 1.029 MB / 443.8 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1965, allocations: 401.4 kB / 444.2 MB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1967, allocations: 118.5 kB / 444.3 MB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.1973, allocations: 195.2 kB / 444.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.1976, allocations: 235.5 kB / 444.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.064e-06/0.1976, allocations: 0.5312 kB / 444.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0006016/0.1982, allocations: 339.8 kB / 445 MB, free: 13.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1983, allocations: 57.66 kB / 445.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1985, allocations: 377.2 kB / 445.5 MB, free: 13.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.1986, allocations: 42.27 kB / 445.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1987, allocations: 242.8 kB / 445.7 MB, free: 13.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1988, allocations: 186.2 kB / 445.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.199, allocations: 119.2 kB / 446 MB, free: 12.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1991, allocations: 362.2 kB / 446.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1993, allocations: 75.5 kB / 446.5 MB, free: 12.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1995, allocations: 259.3 kB / 446.7 MB, free: 12.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.1999, allocations: 332.1 kB / 447 MB, free: 12.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.1999, allocations: 4.469 kB / 447.1 MB, free: 12.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007495/0.2007, allocations: 341.2 kB / 447.4 MB, free: 12.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2007, allocations: 6.469 kB / 447.4 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2007, allocations: 2.812 kB / 447.4 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2007, allocations: 7.469 kB / 447.4 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.2013, allocations: 187.2 kB / 447.6 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.2013, allocations: 16.52 kB / 447.6 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.2017, allocations: 76.11 kB / 447.7 MB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.2017, allocations: 23.09 kB / 447.7 MB, free: 11.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.2019, allocations: 142.2 kB / 447.8 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.202, allocations: 54.8 kB / 447.9 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007766/0.2027, allocations: 456 kB / 448.3 MB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2028, allocations: 6.75 kB / 448.3 MB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2028, allocations: 8.547 kB / 448.3 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2028, allocations: 0 / 448.3 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.2038, allocations: 0.7365 MB / 449.1 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2038, allocations: 1.062 kB / 449.1 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.2043, allocations: 161.6 kB / 449.2 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.2045, allocations: 100.8 kB / 449.3 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2045, allocations: 4 kB / 449.3 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.2045, allocations: 19.97 kB / 449.4 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2045, allocations: 3.062 kB / 449.4 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2045, allocations: 4 kB / 449.4 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.205, allocations: 414 kB / 449.8 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.2051, allocations: 9.188 kB / 449.8 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.2053, allocations: 36.53 kB / 449.8 MB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.2054, allocations: 45.52 kB / 449.9 MB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.2055, allocations: 19.97 kB / 449.9 MB, free: 10.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.2056, allocations: 161.2 kB / 450 MB, free: 10.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2056, allocations: 0 / 450 MB, free: 10.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006395/0.2062, allocations: 256.4 kB / 450.3 MB, free: 9.977 MB / 426.7 MB 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.001712/0.208, allocations: 0.7557 MB / 451 MB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005105/0.2085, allocations: 313.7 kB / 451.4 MB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/0.2085, allocations: 9.562 kB / 451.4 MB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.2088, allocations: 227 kB / 451.6 MB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.2093, allocations: 251 kB / 451.8 MB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.2134, allocations: 1.007 MB / 452.8 MB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.2135, allocations: 136.8 kB / 453 MB, free: 7.625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004575/0.214, allocations: 135.6 kB / 453.1 MB, free: 7.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.2144, allocations: 175.2 kB / 453.3 MB, free: 7.363 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2144, allocations: 4 kB / 453.3 MB, free: 7.359 MB / 426.7 MB Notification: Performance of Templates: time 0.01537/0.2298, allocations: 10.53 MB / 463.8 MB, free: 13.22 MB / 442.7 MB " [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: 3.8654278432950377]