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.0006982/0.0006982, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.001612, allocations: 435.8 kB / 10.33 MB, free: 368 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.001078/0.001078, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002398, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9445/0.9445, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08983/1.034, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001263/0.001263, allocations: 249 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009244/0.002188, allocations: 467.5 kB / 244.7 MB, free: 14.16 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.7357/0.7357, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07068/0.8064, allocations: 42.4 MB / 426.5 MB, free: 5.941 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 2.094e-06/2.094e-06, allocations: 0 / 427.7 MB, free: 4.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.39e-05, allocations: 6.312 kB / 427.7 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005597/0.005621, allocations: 3.698 MB / 431.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1978/0.2035, allocations: 3.717 MB / 435.2 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.2038, allocations: 12.97 kB / 435.2 MB, free: 1.145 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.0003521/0.2041, allocations: 127.3 kB / 435.3 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.2052, allocations: 0.4924 MB / 435.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.2059, allocations: 352.4 kB / 436.1 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.2065, allocations: 0.7699 MB / 436.9 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2067, allocations: 134.1 kB / 437 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.2073, allocations: 0.4987 MB / 437.5 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.2077, allocations: 249.2 kB / 437.8 MB, free: 456 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.2078, allocations: 64.44 kB / 437.8 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009799/0.2088, allocations: 0.5738 MB / 438.4 MB, free: 328 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2089, allocations: 123.7 kB / 438.5 MB, free: 300 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.209, allocations: 165.6 kB / 438.7 MB, free: 276 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009649/0.21, allocations: 0.8079 MB / 439.5 MB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.21, allocations: 0.5156 kB / 439.5 MB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.21, allocations: 0 / 439.5 MB, free: 24 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.2101, allocations: 1.375 kB / 439.5 MB, free: 24 kB / 410.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.001508/0.2116, allocations: 1.095 MB / 440.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.2116, allocations: 9.969 kB / 440.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.2128, allocations: 436.9 kB / 441 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.2132, allocations: 360.1 kB / 441.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.2133, allocations: 196.4 kB / 441.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.2134, allocations: 49.81 kB / 441.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.214, allocations: 0.5389 MB / 442.2 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2141, allocations: 5.188 kB / 442.2 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.2141, allocations: 22.59 kB / 442.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2141, allocations: 11.12 kB / 442.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.2145, allocations: 240.4 kB / 442.4 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.2162, allocations: 1.025 MB / 443.5 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.2171, allocations: 401.8 kB / 443.9 MB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.2173, allocations: 120.1 kB / 444 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.2178, allocations: 195.9 kB / 444.2 MB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000373/0.2182, allocations: 233.5 kB / 444.4 MB, free: 13.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.757e-06/0.2182, allocations: 0.5625 kB / 444.4 MB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0008299/0.219, allocations: 343.9 kB / 444.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.219, allocations: 57.62 kB / 444.8 MB, free: 13.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.2193, allocations: 378.6 kB / 445.2 MB, free: 13.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.2194, allocations: 36.17 kB / 445.2 MB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2195, allocations: 240.9 kB / 445.4 MB, free: 13.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2196, allocations: 187.4 kB / 445.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.2197, allocations: 117.1 kB / 445.7 MB, free: 13.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.2198, allocations: 367.2 kB / 446.1 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2199, allocations: 73.58 kB / 446.2 MB, free: 12.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.2202, allocations: 266 kB / 446.4 MB, free: 12.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.2205, allocations: 318.6 kB / 446.7 MB, free: 12.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2205, allocations: 1.812 kB / 446.7 MB, free: 12.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004215/0.2209, allocations: 337.3 kB / 447.1 MB, free: 12.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.221, allocations: 7 kB / 447.1 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.221, allocations: 3.125 kB / 447.1 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.221, allocations: 12.7 kB / 447.1 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.2215, allocations: 186.5 kB / 447.3 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2215, allocations: 7.25 kB / 447.3 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.2218, allocations: 74.77 kB / 447.3 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.2219, allocations: 24.28 kB / 447.4 MB, free: 12.04 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.0001508/0.222, allocations: 141.8 kB / 447.5 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.2221, allocations: 53.92 kB / 447.6 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006629/0.2228, allocations: 465.8 kB / 448 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2228, allocations: 9.188 kB / 448 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2228, allocations: 0 / 448 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2228, allocations: 3.984 kB / 448 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.2237, allocations: 0.7381 MB / 448.8 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2237, allocations: 0.5312 kB / 448.8 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.2242, allocations: 163 kB / 448.9 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2243, allocations: 97.14 kB / 449 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2243, allocations: 2.5 kB / 449 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.2244, allocations: 15.48 kB / 449 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2244, allocations: 3.094 kB / 449 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2244, allocations: 5.438 kB / 449 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.2248, allocations: 424.9 kB / 449.5 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.2248, allocations: 8 kB / 449.5 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.2251, allocations: 38.25 kB / 449.5 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.2251, allocations: 49.38 kB / 449.6 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.2252, allocations: 15.98 kB / 449.6 MB, free: 10.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.2253, allocations: 160.7 kB / 449.7 MB, free: 10.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2253, allocations: 0.75 kB / 449.7 MB, free: 10.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006126/0.2259, allocations: 255.3 kB / 450 MB, free: 10.15 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.001483/0.2274, allocations: 0.7489 MB / 450.7 MB, free: 9.766 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006216/0.228, allocations: 305.1 kB / 451 MB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/0.228, allocations: 8.656 kB / 451 MB, free: 9.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.2282, allocations: 179.1 kB / 451.2 MB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.2287, allocations: 135.8 kB / 451.3 MB, free: 9.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.2321, allocations: 1.023 MB / 452.4 MB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.9e-05/0.2322, allocations: 132.8 kB / 452.5 MB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.2325, allocations: 137.6 kB / 452.6 MB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.2329, allocations: 171.8 kB / 452.8 MB, free: 7.703 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2329, allocations: 1.688 kB / 452.8 MB, free: 7.703 MB / 426.7 MB Notification: Performance of Templates: time 0.0124/0.2453, allocations: 10.64 MB / 463.4 MB, free: 13.47 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.7876892844215035]